realglobe-Inc / pon-cache

Cache utility for pon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pon-cache

Build Status npm Version JS Standard

Cache utility for pon

Installation

$ npm install pon-cache --save

Usage

'use strict'

const { cachedRequire } = require('pon-cache')

{
  const foo = cachedRequire('foo')
  /* ... */
}

Functions

Available functions

Signature Description
.cachedRequire(name) -> * Require with cache

License

This software is released under the Apache-2.0 License.

Links

About

Cache utility for pon

License:Apache License 2.0


Languages

Language:JavaScript 100.0%