Nerdiest Precious Modules
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

felina-js

4.0.3 • Public • Published

Felina JS

JavaScript client library for the Felina API

Install

bower install --save felina-js

Then include jQuery and dist/main.js in your page however you like.

Use

Initialise the library:

var api = fl_api();

or pass a URL to use your own hosted copy of the server instead of the main one:

var url = 'http://localhost:5000/'; // Remember your trailing slash
var api = fl_api(url);

then start calling methods:

api.loginCheck(function(data) {
    console.log(data.user.name);
});

For a full list of available methods see the server wiki.

License

MIT

Keywords

none

install

npm i felina-js

Downloadsweekly downloads

0

version

4.0.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability