1.0.10 • Published 1 year ago

dot-config-cache v1.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago