midichlorian
v0.2.0
Published
Access the Force, straight from Node.js
Downloads
3
Maintainers
Readme
Midichlorian.js - Access the Force, straight from Node.js
Install
$ npm install --save midichlorian
Usage
var midichlorian = require('midichlorian');
midichlorian.people.get(1).then(function(p) {
//Prints 'Luke Skywalker'
console.log(p.name);
});
It also supports pagination when requesting bulk resources
midichlorian.people.get({page: 2}).then(function(p) {
/** Handle the new results page */
});
License
MIT © Fábio Oliveira