reciple-registry-cache
TypeScript icon, indicating that this package has built-in type declarations

2.1.2 • Public • Published

Reciple Registry Cache

Cache registered application commands locally and only register commands when the command list changes.

Usage

npm i reciple-registry-cache

Create a new module and export an instance of RegistryCacheManager.

// New module instance
import { RegistryCacheManager } from 'reciple-registry-cache';

export default new RegistryCacheManager({
    cacheFolder: './node_modules/.cache/reciple-registry-cache/' // (Optional) custom cache folder
});
// Default module instance
import registryCacheManager from 'reciple-registry-cache/module';

export default registryCacheManager;

Readme

Keywords

Package Sidebar

Install

npm i reciple-registry-cache

Weekly Downloads

2

Version

2.1.2

License

MIT

Unpacked Size

15.4 kB

Total Files

16

Last publish

Collaborators

  • catplusplus