JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 317757
  • Score
    100M100P100Q189851F
  • License MIT

Broccoli plugin that allows simple caching (while still allowing N:N) based on the input tree hash.

Package Exports

  • broccoli-caching-writer

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (broccoli-caching-writer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Broccoli Caching Writer

Build Status

Adds a thin caching layer based on the computed hash of the input tree. If the input tree has changed, the updateCache method will be called, otherwise (input is the same) the results of the last updateCache call will be used instead.

If you would prefer to preform your plugins work in a non-synchronous way, simply return a promise from updateCache.

ZOMG!!! TESTS?!?!!?

I know, right?

Running the tests:

npm install
npm test

License

This project is distributed under the MIT license.