sails-backbone-client
v0.11.15
Published
Load a Sails Backbone API in the Browser
Downloads
23
Maintainers
Readme
-backbone-client
Load a Sails Backbone API in the Browser
Install
$ npm install sails-backbone-client --save
Usage
var BackboneClient = require('sails-backbone-client');
var sdk = { };
BackboneClient.create('localhost:1337/backbonemodel', sdk)
.then(function (api) {
api.Account.fetch() // ...
});
License
MIT