1.0.10 • Published 6 months ago

dot-config-cache v1.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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'}
1.0.10

6 months ago

1.0.9

11 months ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago