1.0.5 • Published 2 years ago

confrc v1.0.5

Weekly downloads
3
License
GPL-3.0-or-later
Repository
github
Last release
2 years 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

2 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1-rc5

4 years ago

1.0.1-rc4

4 years ago

1.0.1-rc2

4 years ago

1.0.1-rc1

4 years ago

1.0.1

4 years ago

1.0.0

5 years ago

0.0.1-alpha0

6 years ago