browserify-cache-api

WebJar for browserify-cache-api

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

browserify-cache-api
Last Version

Last Version

3.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

browserify-cache-api
WebJar for browserify-cache-api
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/jsdf/browserify-cache-api

Download browserify-cache-api

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/browserify-cache-api/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>browserify-cache-api</artifactId>
    <version>3.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/browserify-cache-api/
implementation 'org.webjars.npm:browserify-cache-api:3.0.1'
// https://jarcasting.com/artifacts/org.webjars.npm/browserify-cache-api/
implementation ("org.webjars.npm:browserify-cache-api:3.0.1")
'org.webjars.npm:browserify-cache-api:jar:3.0.1'
<dependency org="org.webjars.npm" name="browserify-cache-api" rev="3.0.1">
  <artifact name="browserify-cache-api" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='browserify-cache-api', version='3.0.1')
)
libraryDependencies += "org.webjars.npm" % "browserify-cache-api" % "3.0.1"
[org.webjars.npm/browserify-cache-api "3.0.1"]

Dependencies

compile (3)

Group / Artifact Type Version
org.webjars.npm : async jar [1.5.2,2)
org.webjars.npm : through2 jar [2.0.0,3)
org.webjars.npm : xtend jar [4.0.0,5)

Project Modules

There are no modules declared in this project.

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.

Versions

Version
3.0.1