1.0.10 • Published 6 months ago
dot-config-cache v1.0.10
Dot Config
A wrapper around storing and retrieving config from .config
Installation
npm i dot-config-cache
Basic Usage
import config from 'dot-config';
config.store('my-config-file.json', {foo: 'bar'});
// Stores {foo: 'bar'} as JSON to ~/.config/my-config-file.json
config.get('my-config-files.json');
// Gets {foo: 'bar'}