Lines Matching +full:js +full:- +full:lint

1-cache [![NPM version](https://img.shields.io/npm/v/lazy-cache.svg?style=flat)](https://www.npmjs.…
3 > Cache requires to be lazy-loaded when needed.
10 $ npm install lazy-cache --save
13 …e webpack and are experiencing issues, try using [unlazy-loader](https://github.com/doowb/unlazy-l…
17 ```js
18 var utils = require('lazy-cache')(require);
26 ```js
27 var utils = require('lazy-cache')(require);
33 console.log(utils.glob.sync('*.js'));
36 utils.glob('*.js', function (err, files) {
43 ```js
44 var utils = require('lazy-cache')(require);
48 glob().sync('foo/*.js');
53 An alias may be passed as the second argument if you don't want to use the automatically camel-case…
57 ```js
58 var utils = require('lazy-cache')(require);
60 // alias `ansi-yellow` as `yellow`
61 utils('ansi-yellow', 'yellow');
69 ```js
70 var utils = require('lazy-cache')(require);
71 // temporarily re-assign `require` to trick browserify
74 // list module dependencies (here, `require` is actually `lazy-cache`)
83 console.log(utils.glob.sync('*.js'));
86 utils.glob('*.js', function (err, files) {
93 In certain rare edge cases it may be necessary to unlazy all lazy-cached dependencies (5 reported c…
95 To force lazy-cache to immediately invoke all dependencies, do:
97 ```js
105lint-deps](https://www.npmjs.com/package/lint-deps): CLI tool that tells you when dependencies are…
109 …feature requests, [please create an issue](https://github.com/jonschlinkert/lazy-cache/issues/new).
130 $ npm install -d && npm test
143 Released under the [MIT license](https://github.com/jonschlinkert/lazy-cache/blob/master/LICENSE).