server-api
Nachos server side api
Linux | OSX | Windows | Coverage | Dependencies | DevDependencies |
---|---|---|---|---|---|
Have a problem? Come chat with us!
Installation
$ [sudo] npm install server-api --save
Usage
Initialize
var server = ;var client = ;
Connecting
Connect to the server with email and password
client;
Connected
Check if a token is cached
client // true or false
Set token
Save a given token in cache
client;
API
The package reflects all the api from the nachos server
Examples
clientusers;clientpackagesall;
Full documentation can be found here
Run Tests
$ npm test