CLI for adding a utils.js file with lazy-cached requires.
Install globally with npm
$ npm install -g lazy-cache-cli
$ lazy
# no semicolons
$ lazy -s
Running the lazy command will do two things:
utils.js with var utils = require('lazy-cache')(require); and a list of dependencies from package.jsonutils.js filepath to the files property in package.jsonLearn
If a utils.js or lib/utils.js file already exists, lazy-cache-cli will try to learn any aliases used in that file, so that the next time you generate a utils.js file, it will try to use the aliases if any "known" module names are used.
You might also be interested in these projects:
This document was generated by verb, please don't edit directly. Any changes to the readme must be made in .verb.md. See Building Docs.
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Generate readme and API documentation with verb:
$ npm install -g verb verb-readme-generator && verb
Install dev dependencies:
$ npm install -d && npm test
Jon Schlinkert
Copyright © 2016, Jon Schlinkert. Released under the MIT license.
This file was generated by verb, v0.9.0, on May 30, 2016.