Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@cnwangjie/conf
Advanced tools
Lightweight Node.js configuration with enough feature.
yarn add @cnwangjie/conf
const conf = require('@cnwangjie/conf')
// load config file in bootstrap
conf().load('config.json')
// you can use absolute path or path relative with current path
// besides, you can load any type file of JS, YAML, TOML, ENV and you just need
// install corresponding module
// then you can get the config in every file by require config.js
conf('server.port')
conf().get('server.port')
conf.server.port
// you can use any type of style above
// even you can set separator you like by following way
conf().separator = ':'
conf('server:port')
You need to install corresponding module if you want to use other suffix config file.
suffix | module |
---|---|
.yml | js-yaml |
.yaml | js-yaml |
.env | dotenv |
.toml | toml |
FAQs
Lightweight Node.js configuration with enough feature.
The npm package @cnwangjie/conf receives a total of 3 weekly downloads. As such, @cnwangjie/conf popularity was classified as not popular.
We found that @cnwangjie/conf demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.