1.2.0 • Published 8 years ago

require-auto v1.2.0

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

auto-require.js

require.js - with automatic download

A lot of people seem to hate having to "require" the packages they always use, and there are good packages for requiring all the packages you need automatically.

This package addresses a slightly different problem, I always forget to "npm install" my packages when I first install the build in a new location, and then I spend ten minutes debugging the problem. This package will notice that a package hasn't been installed and just do it.

NOTE: npm doesn't work with cygwin, so I added a workaround for my environment that calls 'bash' directly. Of course, this means the package won't work on vanilla Windows now.

Usage:

var requireAuto = require ("require-auto");
var myPackage = requireAuto ("myPackage");
1.2.0

8 years ago

1.1.0

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago