0.2.0 • Published 9 years ago

midichlorian v0.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

Midichlorian.js - Access the Force, straight from Node.js

NPM version Build status Test coverage Code climate Dependency Status License

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