Skip to content

binyamin/data-cache

Repository files navigation

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