Skip to content

foliveira/midichlorian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Access the Force, straight from Node.js

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published