JSPM

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

Easily get and set helper functions to pass to any application or template engine.

Package Exports

  • helper-cache

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 (helper-cache) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

helper-cache NPM version

Easily get and set helper functions to pass to any application or template engine.

Install

Install with npm:

npm i helper-cache --save-dev

Usage

var Cache = require('helper-cache');

var helpers = new Cache();
helpers.set('a', function (str) {
  return str.toLowerCase();
});
helpers.set('b', function (str) {
  return str.toUpperCase();
});

console.log(helpers)
//=> { options: { bindFunctions: false },
//    '.a': [Function],
//    '.b': [Function] }

Author

Jon Schlinkert

Brian Woodward

License

Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license


This file was generated by verb-cli on October 30, 2014.