midichlorian

0.2.0 • Public • Published

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

Package Sidebar

Install

npm i midichlorian

Weekly Downloads

0

Version

0.2.0

License

MIT

Last publish

Collaborators

  • foliveira