{"_id":"loader-cache","_rev":"74245","name":"loader-cache","description":"Register loader functions that dynamically read, parse or otherwise transform file contents when the name of the loader matches a file extension. You can also compose loaders from other loaders.","dist-tags":{"latest":"0.6.1"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:24:11.000Z","created":"2014-11-19T00:54:19.818Z","0.6.1":"2015-08-21T08:35:35.769Z","0.6.0":"2015-06-29T22:03:43.947Z","0.5.0":"2015-06-13T20:29:20.011Z","0.4.0":"2015-03-10T12:23:44.025Z","0.3.2":"2015-02-23T12:03:22.321Z","0.3.1":"2014-12-05T02:32:56.429Z","0.3.0":"2014-12-05T00:49:03.842Z","0.2.5":"2014-12-03T12:18:13.478Z","0.2.4":"2014-12-03T07:56:40.019Z","0.2.3":"2014-12-03T06:01:15.677Z","0.2.2":"2014-12-03T01:00:44.952Z","0.2.1":"2014-12-02T23:56:31.298Z","0.2.0":"2014-12-02T23:15:52.783Z","0.1.2":"2014-12-02T19:20:03.579Z","0.1.1":"2014-11-19T00:54:19.818Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/loader-cache.git"},"versions":{"0.6.1":{"name":"loader-cache","description":"Register loader functions that dynamically read, parse or otherwise transform file contents when the name of the loader matches a file extension. You can also compose loaders from other loaders.","version":"0.6.1","homepage":"https://github.com/jonschlinkert/loader-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/loader-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/loader-cache/issues"},"license":"MIT","files":["lib/","index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"arr-flatten":"^1.0.1","arrayify-compact":"^0.2.0","extend-shallow":"^2.0.1","is-extendable":"^0.1.1","isobject":"^2.0.0","lazy-cache":"^0.2.3"},"devDependencies":{"bluebird":"^2.9.30","event-stream":"^3.3.1","glob":"^5.0.12","gulp-istanbul":"^0.10.0","gulp-jshint":"^1.11.0","gulp-mocha":"^2.1.1","gulp-util":"^3.0.5","iterator-async":"^0.1.1","iterator-promise":"^0.1.1","iterator-streams":"^0.1.0","iterator-sync":"^0.1.1","js-yaml":"^3.2.3","jshint-stylish":"^2.0.0","mocha":"*","should":"^5.0.1","strip-ansi":"^2.0.1","time-require":"github:jonschlinkert/time-require","verb":"^0.8.6"},"keywords":["content","ext","extension","file","load","loader","parse","parser","read","reader"],"gitHead":"839e30dcfc1dc1543c53aa904c4de7a27d6815b0","_id":"loader-cache@0.6.1","_shasum":"4c1ebb078c442135675c5ba87d2d8a57f12daa61","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"4c1ebb078c442135675c5ba87d2d8a57f12daa61","size":5570,"noattachment":false,"key":"/loader-cache/-/loader-cache-0.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/loader-cache/download/loader-cache-0.6.1.tgz"},"directories":{},"publish_time":1440146135769,"_cnpm_publish_time":1440146135769,"_hasShrinkwrap":false},"0.6.0":{"name":"loader-cache","description":"Register loader functions that dynamically read, parse or otherwise transform file contents when the name of the loader matches a file extension. You can also compose loaders from other loaders.","version":"0.6.0","homepage":"https://github.com/jonschlinkert/loader-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/loader-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/loader-cache/issues"},"license":"MIT","files":["lib/","index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"arr-flatten":"^1.0.1","arrayify-compact":"^0.2.0","extend-shallow":"^2.0.0","get-value":"^1.1.5","is-extendable":"^0.1.0","isobject":"^1.0.0","set-value":"^0.2.0"},"devDependencies":{"bluebird":"^2.9.30","event-stream":"^3.3.1","glob":"^5.0.12","gulp-istanbul":"^0.10.0","gulp-jshint":"^1.11.0","gulp-mocha":"^2.1.1","gulp-util":"^3.0.5","iterator-async":"^0.1.1","iterator-promise":"^0.1.1","iterator-streams":"^0.1.0","iterator-sync":"^0.1.1","js-yaml":"^3.2.3","jshint-stylish":"^2.0.0","mocha":"*","should":"^5.0.1","strip-ansi":"^2.0.1","verb":"^0.8.6"},"keywords":["content","ext","extension","file","load","loader","parse","parser","read","reader"],"gitHead":"7d5df0c1686bd9d21c3d14e410bc9310cbffe7f2","_id":"loader-cache@0.6.0","_shasum":"89da2ba531b67f27e8b140b699e66c491810d8c3","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"89da2ba531b67f27e8b140b699e66c491810d8c3","size":5461,"noattachment":false,"key":"/loader-cache/-/loader-cache-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/loader-cache/download/loader-cache-0.6.0.tgz"},"directories":{},"publish_time":1435615423947,"_cnpm_publish_time":1435615423947,"_hasShrinkwrap":false},"0.5.0":{"name":"loader-cache","description":"Register loader functions that dynamically read, parse or otherwise transform file contents when the name of the loader matches a file extension. You can also compose loaders from other loaders.","version":"0.5.0","homepage":"https://github.com/jonschlinkert/loader-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/loader-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/loader-cache/issues"},"license":"MIT","files":["iterators/","index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"arr-flatten":"^1.0.1","bluebird":"^2.9.27","event-stream":"^3.3.1","is-stream":"^1.0.1","kind-of":"^2.0.0"},"devDependencies":{"extend-shallow":"^1.1.4","glob":"^5.0.10","gulp-istanbul":"^0.10.0","gulp-jshint":"^1.11.0","gulp-mocha":"^2.1.1","gulp-util":"^3.0.5","iterator-async":"^0.1.0","iterator-promise":"^0.1.0","iterator-streams":"^0.1.0","iterator-sync":"^0.1.0","js-yaml":"^3.2.3","jshint-stylish":"^2.0.0","mocha":"*","should":"^5.0.1","strip-ansi":"^2.0.1","verb":"^0.8.6"},"keywords":["content","ext","extension","file","load","loader","parse","parser","read","reader"],"gitHead":"744e9529ad4633fa48a739c46a8a7b2ccf91e5e8","_id":"loader-cache@0.5.0","_shasum":"3223c0d5b7320c62240a9f06608c874d02c66cbb","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"3223c0d5b7320c62240a9f06608c874d02c66cbb","size":3819,"noattachment":false,"key":"/loader-cache/-/loader-cache-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/loader-cache/download/loader-cache-0.5.0.tgz"},"directories":{},"publish_time":1434227360011,"_cnpm_publish_time":1434227360011,"_hasShrinkwrap":false},"0.4.0":{"name":"loader-cache","description":"Register loader functions that dynamically read, parse or otherwise transform file contents when the name of the loader matches a file extension. You can also compose loaders from other loaders.","version":"0.4.0","homepage":"https://github.com/jonschlinkert/loader-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"https://github.com/jonschlinkert/loader-cache"},"bugs":{"url":"https://github.com/jonschlinkert/loader-cache/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"async":"^0.9.0","bluebird":"^2.3.11","event-stream":"^3.1.7","kind-of":"^0.1.2"},"devDependencies":{"js-yaml":"^3.2.3","mocha":"*","should":"^5.0.1"},"keywords":["content","ext","extension","file","load","loader","parse","parser","read","reader"],"gitHead":"9dac7721c7eb59f92ca87a3014a67eb11bbec23a","_id":"loader-cache@0.4.0","_shasum":"744bf5c0e37f34fe4553eef428bc248926e20abb","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"744bf5c0e37f34fe4553eef428bc248926e20abb","size":4737,"noattachment":false,"key":"/loader-cache/-/loader-cache-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/loader-cache/download/loader-cache-0.4.0.tgz"},"directories":{},"publish_time":1425990224025,"_cnpm_publish_time":1425990224025,"_hasShrinkwrap":false},"0.3.2":{"name":"loader-cache","description":"Register loader functions that dynamically read, parse or otherwise transform file contents when the name of the loader matches a file extension. You can also compose loaders from other loaders.","version":"0.3.2","homepage":"https://github.com/jonschlinkert/loader-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"https://github.com/jonschlinkert/loader-cache"},"bugs":{"url":"https://github.com/jonschlinkert/loader-cache/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"arr-flatten":"^0.2.1","array-slice":"^0.2.2","async":"^0.9.0","bluebird":"^2.3.11","event-stream":"^3.1.7","kind-of":"^0.1.2"},"devDependencies":{"js-yaml":"^3.2.3","mocha":"*"},"keywords":["content","ext","extension","file","load","loader","parse","parser","read","reader"],"gitHead":"a525668f45e9370938cce1d19bad43c67e52d03c","_id":"loader-cache@0.3.2","_shasum":"18bd4174c7ad174965c0687c379aeef132416368","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"18bd4174c7ad174965c0687c379aeef132416368","size":4815,"noattachment":false,"key":"/loader-cache/-/loader-cache-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/loader-cache/download/loader-cache-0.3.2.tgz"},"directories":{},"publish_time":1424693002321,"_cnpm_publish_time":1424693002321,"_hasShrinkwrap":false},"0.3.1":{"name":"loader-cache","description":"Register loader functions that dynamically read, parse or otherwise transform file contents when the name of the loader matches a file extension. You can also compose loaders from other loaders.","version":"0.3.1","homepage":"https://github.com/jonschlinkert/loader-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/loader-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/loader-cache/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/loader-cache/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"js-yaml":"^3.2.3","mocha":"*","should":"*"},"keywords":["content","ext","extension","file","load","loader","parse","parser","read","reader"],"dependencies":{"arr-flatten":"^0.2.1","array-slice":"^0.2.2","async":"^0.9.0","bluebird":"^2.3.11","event-stream":"^3.1.7","kind-of":"^0.1.2"},"_id":"loader-cache@0.3.1","_shasum":"5108b11ed11ac920db08bb42b61cba64e12c04c8","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"5108b11ed11ac920db08bb42b61cba64e12c04c8","size":7562,"noattachment":false,"key":"/loader-cache/-/loader-cache-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/loader-cache/download/loader-cache-0.3.1.tgz"},"directories":{},"publish_time":1417746776429,"_cnpm_publish_time":1417746776429,"_hasShrinkwrap":false},"0.3.0":{"name":"loader-cache","description":"Register loader functions that dynamically read, parse or otherwise transform file contents when the name of the loader matches a file extension. You can also compose loaders from other loaders.","version":"0.3.0","homepage":"https://github.com/jonschlinkert/loader-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/loader-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/loader-cache/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/loader-cache/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"js-yaml":"^3.2.3","mocha":"*","should":"*"},"keywords":["content","ext","extension","file","load","loader","parse","parser","read","reader"],"dependencies":{"arr-flatten":"^0.2.1","array-slice":"^0.2.2","async":"^0.9.0","bluebird":"^2.3.11","event-stream":"^3.1.7","kind-of":"^0.1.2"},"_id":"loader-cache@0.3.0","_shasum":"29296f91d5e448914e772b34741d62cfa198ad0e","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"29296f91d5e448914e772b34741d62cfa198ad0e","size":7542,"noattachment":false,"key":"/loader-cache/-/loader-cache-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/loader-cache/download/loader-cache-0.3.0.tgz"},"directories":{},"publish_time":1417740543842,"_cnpm_publish_time":1417740543842,"_hasShrinkwrap":false},"0.2.5":{"name":"loader-cache","description":"Register loader functions that dynamically read, parse or otherwise transform file contents when the name of the loader matches a file extension. You can also compose loaders from other loaders.","version":"0.2.5","homepage":"https://github.com/jonschlinkert/loader-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/loader-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/loader-cache/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/loader-cache/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"async":"^0.9.0","bluebird":"^2.3.11","event-stream":"^3.1.7"},"devDependencies":{"js-yaml":"^3.2.3","mocha":"*","should":"*"},"keywords":["content","ext","extension","file","load","loader","parse","parser","read","reader"],"_id":"loader-cache@0.2.5","_shasum":"686a385fbe16e39b799f27efc41f923b7e62b999","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"686a385fbe16e39b799f27efc41f923b7e62b999","size":6937,"noattachment":false,"key":"/loader-cache/-/loader-cache-0.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/loader-cache/download/loader-cache-0.2.5.tgz"},"directories":{},"publish_time":1417609093478,"_cnpm_publish_time":1417609093478,"_hasShrinkwrap":false},"0.2.4":{"name":"loader-cache","description":"Register loader functions that dynamically read, parse or otherwise transform file contents when the name of the loader matches a file extension. You can also compose loaders from other loaders.","version":"0.2.4","homepage":"https://github.com/jonschlinkert/loader-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/loader-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/loader-cache/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/loader-cache/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"async":"^0.9.0","bluebird":"^2.3.11","event-stream":"^3.1.7"},"devDependencies":{"js-yaml":"^3.2.3","mocha":"*","should":"*"},"keywords":["content","ext","extension","file","load","loader","parse","parser","read","reader"],"_id":"loader-cache@0.2.4","_shasum":"a534819690f87ccc583a334abe6dc6e5ac38a34e","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"a534819690f87ccc583a334abe6dc6e5ac38a34e","size":6994,"noattachment":false,"key":"/loader-cache/-/loader-cache-0.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/loader-cache/download/loader-cache-0.2.4.tgz"},"directories":{},"publish_time":1417593400019,"_cnpm_publish_time":1417593400019,"_hasShrinkwrap":false},"0.2.3":{"name":"loader-cache","description":"Register loader functions that dynamically read, parse or otherwise transform file contents when the name of the loader matches a file extension. You can also compose loaders from other loaders.","version":"0.2.3","homepage":"https://github.com/jonschlinkert/loader-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/loader-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/loader-cache/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/loader-cache/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"js-yaml":"^3.2.3","mocha":"*","should":"*"},"keywords":["content","ext","extension","file","load","loader","parse","parser","read","reader"],"dependencies":{"async":"^0.9.0","bluebird":"^2.3.11","event-stream":"^3.1.7"},"gitHead":"5d82fe3dcb3157ed326b2f0996c7697e30bd4643","_id":"loader-cache@0.2.3","_shasum":"39493d53c9940d437cf32666056e5b4cee086221","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"39493d53c9940d437cf32666056e5b4cee086221","size":6781,"noattachment":false,"key":"/loader-cache/-/loader-cache-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/loader-cache/download/loader-cache-0.2.3.tgz"},"directories":{},"publish_time":1417586475677,"_cnpm_publish_time":1417586475677,"_hasShrinkwrap":false},"0.2.2":{"name":"loader-cache","description":"Register loader functions that dynamically read, parse or otherwise transform file contents when the name of the loader matches a file extension. You can also compose loaders from other loaders.","version":"0.2.2","homepage":"https://github.com/jonschlinkert/loader-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/loader-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/loader-cache/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/loader-cache/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"js-yaml":"^3.2.3","mocha":"*","should":"*"},"keywords":["content","ext","extension","file","load","loader","parse","parser","read","reader"],"dependencies":{"async":"^0.9.0","bluebird":"^2.3.11","event-stream":"^3.1.7"},"gitHead":"59afd77ccd6a83cda211664578b145376a740e67","_id":"loader-cache@0.2.2","_shasum":"1dee19f8e5350a450f1fe5076e5f215b4e415570","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"1dee19f8e5350a450f1fe5076e5f215b4e415570","size":7420,"noattachment":false,"key":"/loader-cache/-/loader-cache-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/loader-cache/download/loader-cache-0.2.2.tgz"},"directories":{},"publish_time":1417568444952,"_cnpm_publish_time":1417568444952,"_hasShrinkwrap":false},"0.2.1":{"name":"loader-cache","description":"Register loader functions that dynamically read, parse or otherwise transform file contents when the name of the loader matches a file extension. You can also compose loaders from other loaders.","version":"0.2.1","homepage":"https://github.com/jonschlinkert/loader-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/loader-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/loader-cache/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/loader-cache/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"js-yaml":"^3.2.3","mocha":"*","should":"*"},"keywords":["content","ext","extension","file","load","loader","parse","parser","read","reader"],"dependencies":{"async":"^0.9.0","bluebird":"^2.3.11","event-stream":"^3.1.7"},"gitHead":"fd5eb78ac10bfd34fea06a4b7554000c0c67bfa2","_id":"loader-cache@0.2.1","_shasum":"f52d97dc1a6474855077b31248c1ab576d2ee11e","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"f52d97dc1a6474855077b31248c1ab576d2ee11e","size":6675,"noattachment":false,"key":"/loader-cache/-/loader-cache-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/loader-cache/download/loader-cache-0.2.1.tgz"},"directories":{},"publish_time":1417564591298,"_cnpm_publish_time":1417564591298,"_hasShrinkwrap":false},"0.2.0":{"name":"loader-cache","description":"Register loader functions that dynamically read, parse or otherwise transform file contents when the name of the loader matches a file extension. You can also compose loaders from other loaders.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/loader-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/loader-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/loader-cache/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/loader-cache/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"js-yaml":"^3.2.3","mocha":"*","should":"*"},"keywords":["content","ext","extension","file","load","loader","parse","parser","read","reader"],"dependencies":{"async":"^0.9.0","bluebird":"^2.3.11","event-stream":"^3.1.7"},"_id":"loader-cache@0.2.0","_shasum":"944713100a4f6fbaf6b1b5c45187eb37b83bb661","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"944713100a4f6fbaf6b1b5c45187eb37b83bb661","size":6656,"noattachment":false,"key":"/loader-cache/-/loader-cache-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/loader-cache/download/loader-cache-0.2.0.tgz"},"directories":{},"publish_time":1417562152783,"_cnpm_publish_time":1417562152783,"_hasShrinkwrap":false},"0.1.2":{"name":"loader-cache","description":"Register loader functions that dynamically read, parse or otherwise transform file contents when the name of the loader matches a file extension. You can also compose loaders from other loaders.","version":"0.1.2","homepage":"https://github.com/jonschlinkert/loader-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/loader-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/loader-cache/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/loader-cache/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"js-yaml":"^3.2.3","mocha":"*","should":"*"},"keywords":["content","ext","extension","file","load","loader","parse","parser","read","reader"],"dependencies":{"async":"^0.9.0","bluebird":"^2.3.11","event-stream":"^3.1.7"},"gitHead":"4fe351905a757e81397bd4846c8e5420f879c668","_id":"loader-cache@0.1.2","_shasum":"9c7514cd4aaaece9f6b6f016765de5ff8163ce79","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"9c7514cd4aaaece9f6b6f016765de5ff8163ce79","size":6223,"noattachment":false,"key":"/loader-cache/-/loader-cache-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/loader-cache/download/loader-cache-0.1.2.tgz"},"directories":{},"publish_time":1417548003579,"_cnpm_publish_time":1417548003579,"_hasShrinkwrap":false},"0.1.1":{"name":"loader-cache","description":"Register loader functions that dynamically read, parse or otherwise transform file contents when the name of the loader matches a file extension. You can also compose loaders from other loaders.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/loader-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/loader-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/loader-cache/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/loader-cache/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"js-yaml":"^3.2.3","mocha":"*","should":"*"},"keywords":["content","ext","extension","file","load","loader","parse","parser","read","reader"],"dependencies":{"async":"^0.9.0","bluebird":"^2.3.11","event-stream":"^3.1.7"},"_id":"loader-cache@0.1.1","_shasum":"7ccb3b7a10289612e0957780bb27b2d874455a33","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"7ccb3b7a10289612e0957780bb27b2d874455a33","size":5995,"noattachment":false,"key":"/loader-cache/-/loader-cache-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/loader-cache/download/loader-cache-0.1.1.tgz"},"directories":{},"publish_time":1416358459818,"_cnpm_publish_time":1416358459818,"_hasShrinkwrap":false}},"readme":"# loader-cache [![NPM version](https://badge.fury.io/js/loader-cache.svg)](http://badge.fury.io/js/loader-cache)  [![Build Status](https://travis-ci.org/jonschlinkert/loader-cache.svg)](https://travis-ci.org/jonschlinkert/loader-cache)\n\n> Register loader functions that dynamically read, parse or otherwise transform file contents when the name of the loader matches a file extension. You can also compose loaders from other loaders.\n\n## Example usage\n\n```js\nvar LoaderCache = require('loader-cache');\nvar loaders = new LoaderCache();\n\n// register a loader for reading files\nloaders.register('read', function(fp) {\n  return fs.readFileSync(fp, 'utf8');\n});\n\n// register a loader for parsing YAML\nloaders.register('yaml', function(fp) {\n  return YAML.safeLoad(fp);\n});\n\n// create a loader from any combination of other\n// registered loaders and functions.\nloaders.register('dataLoader', ['read', 'yaml'], function(data) {\n  if (!data) throw new Error('no data!');\n  return data;\n});\n\n// pass a loader stack or the name of a loader to `.compose()` \n// to create the actual function to be used for loading\nvar fn = loaders.compose('dataLoader');\nvar data = fn('config.yml');\n```\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i loader-cache --save\n```\n\n## API\n\n### [LoaderCache](index.js#L20)\n\nCreate a new instance of `LoaderCache`\n\n**Example**\n\n```js\nvar LoaderCache = require('loader-cache');\nvar loaders = new LoaderCache();\n```\n\n### [.iterator](index.js#L78)\n\nRegister an iterator function of the given `type`. Types typically represent a kind of flow-control, like `sync`, `promise`, `stream`, `async` etc.\n\n**Params**\n\n* `type` **{String}**\n* `options` **{Object}**\n* `fn` **{Function}**: The actual iterator function.\n* `returns` **{Object}**\n\n**Example**\n\n```js\nloader.iterator('sync', function(stack) {\n  // `stack` is the loader stack (array) to iterate over\n  // each item in array is a loader function\n  return function(args) {\n    // `args` is the arguments passed to the loaders\n  }\n});\n```\n\n### [.loader](index.js#L115)\n\nRegister a loader. The first argument is the name of the loader to register.\n\n**Params**\n\n* `name` **{String}**\n* `options` **{Object}**\n* `fns` **{Function|Array}**: One or more loader functions or names of other registered loaders.\n* `returns` **{Array}**\n\n**Example**\n\n```js\n// create a loader from other loaders.\nloaders.loader('foo', ['bar', 'baz']);\n// pass a function\nloaders.loader('foo', function(patterns, options) {\n  return glob.sync(patterns, options);\n});\n// combination\nloaders.loader('foo', ['bar', 'baz'], function(patterns, options) {\n  return glob.sync(patterns, options);\n});\n```\n\n### [.compose](index.js#L161)\n\nCompose the actual `load` function from a loader stack.\n\n**Params**\n\n* `name` **{String}**: The name of the loader stack to use.\n* `options` **{Object}**\n* `stack` **{Array|Function}**: Additional loader names or functions.\n* `returns` **{Function}**\n\n**Example**\n\n```js\nvar fn = loaders.compose('foo');\n// load some files\nvar files = fn('*.txt');\n```\n\n## Related libs\n\n* [config-cache](https://github.com/jonschlinkert/config-cache): General purpose JavaScript object storage methods.\n* [cache-base](https://github.com/jonschlinkert/cache-base): Generic object cache for node.js/javascript projects.\n* [engine-cache](https://github.com/jonschlinkert/engine-cache): express.js inspired template-engine manager.\n* [helper-cache](https://github.com/jonschlinkert/helper-cache): Easily register and get helper functions to be passed to any template engine or node.js… [more](https://github.com/jonschlinkert/helper-cache)\n* [option-cache](https://github.com/jonschlinkert/option-cache): Simple API for managing options in JavaScript applications.\n* [parser-cache](https://github.com/jonschlinkert/parser-cache): Cache and load parsers, similiar to consolidate.js engines.\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm i -d && npm test\n```\n\n## Code coverage\n\nPlease help improve code coverage by [adding unit tests](#contributing).\n\n```js\n-----------------|-----------|-----------|-----------|-----------|\nFile             |   % Stmts |% Branches |   % Funcs |   % Lines |\n-----------------|-----------|-----------|-----------|-----------|\n   loader-cache/ |     91.27 |     82.35 |     85.71 |      92.5 |\n      index.js   |     91.27 |     82.35 |     85.71 |      92.5 |\n-----------------|-----------|-----------|-----------|-----------|\nAll files        |     91.27 |     82.35 |     85.71 |      92.5 |\n-----------------|-----------|-----------|-----------|-----------|\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/loader-cache/issues/new)\n\n## Author\n\n**Jon Schlinkert**\n\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2015 Jon Schlinkert\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on June 29, 2015._\n\n<!-- deps:mocha -->","_attachments":{},"homepage":"https://github.com/jonschlinkert/loader-cache","bugs":{"url":"https://github.com/jonschlinkert/loader-cache/issues"},"license":"MIT"}