Cache utility for pon
$ npm install pon-cache --save
'use strict'
const { cachedRequire } = require('pon-cache')
{
const foo = cachedRequire('foo')
/* ... */
}
Available functions
Signature | Description |
---|---|
.cachedRequire(name) -> * |
Require with cache |
This software is released under the Apache-2.0 License.