Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 631 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 631 Bytes

Data-Cache

npm bundle size CI Test

A tiny npm module for caching data

Install

$ npm install @binyamin/data-cache

Usage

import * as datacache from '@binyamin/data-cache';

datacache.set('data', 'value');
// => Creates a file `.cache/data`, with a value of 'value'

datacache.get('data');
// => "value"

License

MIT © Binyamin Green