browserify-cache-api
api for caching and reusing discovered dependencies for browserify
Last updated 10 years ago by jsdf .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install browserify-cache-api 
SYNC missed versions from official npm registry.

browserify-cache-api

Attaches per-module caching of module resolution and transformation to a browserify instance.

Caches to a file on disk, invalidated by source file modification time.

Used by browserify-incremental

  // create a browserify instance
  var b = browserify({
    // cache and packageCache opts are required
    cache: {},
    packageCache: {},
    // and then your opts...
  });

  // attach caching, specifying a location to store the cache file
  browserifyCache(b, {cacheFile: './tmp/browserify-cache.json'});

  // browserify module resolution + transformation is now cached

Contributing

Please see the Contributor Guidelines.

Current Tags

  • 1.5.1                                ...           1.x-branch (10 years ago)
  • 3.0.2                                ...           latest (3 years ago)

14 Versions

  • 3.0.2                                ...           3 years ago
  • 3.0.1                                ...           8 years ago
  • 3.0.0                                ...           9 years ago
  • 1.5.1                                ...           10 years ago
  • 2.0.0                                ...           10 years ago
  • 1.5.0                                ...           10 years ago
  • 1.3.0                                ...           10 years ago
  • 1.2.1                                ...           10 years ago
  • 1.2.0                                ...           10 years ago
  • 1.1.0                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
  • 0.1.2                                ...           10 years ago
  • 0.1.1                                ...           10 years ago
  • 0.1.0                                ...           10 years ago
Maintainers (1)
Downloads
Total 2
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE