lazy-cache-cli v0.2.3
lazy-cache-cli

CLI for adding a utils.js file with lazy-cached requires.
Install
Install globally with npm
$ npm install -g lazy-cache-cliCLI
$ lazy
# no semicolons
$ lazy -sRunning the lazy command will do two things:
- Add
utils.jswithvar utils = require('lazy-cache')(require);and a list of dependencies from package.json - Add the
utils.jsfilepath to thefilesproperty in package.json
Learn
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.
Related projects
You might also be interested in these projects:
- lazy-cache: Cache requires to be lazy-loaded when needed. | homepage
- lint-deps: CLI tool that tells you when dependencies are missing from package.json and offers you a… more | homepage
Contributing
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.
Building docs
Generate readme and API documentation with verb:
$ npm install -g verb verb-readme-generator && verbRunning tests
Install dev dependencies:
$ npm install -d && npm testAuthor
Jon Schlinkert
License
Copyright © 2016, Jon Schlinkert. Released under the MIT license.
This file was generated by verb, v0.9.0, on May 30, 2016.