0.3.0 • Published 9 years ago

handbag-require v0.3.0

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

handbag-require

Introduction

Patch to handbag that adds two new methods:

  • require(name)

Imports a node module and adds it to handbag as a value, using the same module name

  • requireFromManifest(file)

Imports all node modules declared in a package.json files under dependencies list

Usage

var handbag = require('handbag-require');

handbag.requireFromManifest('./package.json');
handbag.require('some-module');
0.3.0

9 years ago

0.2.0

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago