0.4.0 • Published 8 years ago

desires v0.4.0

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

desires

desires functions exactly like require, with a twist: it synchronously grabs missing modules from npm. Saves to package.json by default.

Installation

$ npm install desires

Examples

// The plain vanilla
var handlebars = desires("handlebars");

// The save-dev version
var handlebars = desires("handlebars", { saveDev : true });

// Using another directory
var handlebars = desires("handlebars", { dir : process.cwd() });

API

desires(name, options)

The one and only function call.

options

  • save (defaults to true)
  • saveDev
  • global
  • dir

License

MIT

0.4.0

8 years ago

0.3.0

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago