1.0.5 • Published 1 year ago

confrc v1.0.5

Weekly downloads
3
License
GPL-3.0-or-later
Repository
github
Last release
1 year ago

confrc

Independent, simple, universe compatible, dotenv replacement config manager.

JSON way

config format

{
   'config':'value'
}

init

const confrc = require('confrc').base;

check if config exist

confrc.check('someConfig')

config read

let someConfig = confrc.get('someConfig');

more example

const confrc = require('confrc')).confrc;

if(!confrc.check('someConfig')){
    process.exit(5); 
};
let someConfig = confrc.get('someConfig');

Benefits

Imutable response

No more accidental config value change in the code.

Clean code

No more dotenv crash on linux

JSON format support

Forced type safety.

1.0.5

1 year ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1-rc5

3 years ago

1.0.1-rc4

3 years ago

1.0.1-rc2

3 years ago

1.0.1-rc1

3 years ago

1.0.1

3 years ago

1.0.0

4 years ago

0.0.1-alpha0

5 years ago