New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

config-handler

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

config-handler - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

package.json
{
"name": "config-handler",
"version": "2.0.0",
"version": "2.0.1",
"engines": {

@@ -5,0 +5,0 @@ "node": ">=6.0.0"

@@ -92,9 +92,15 @@ # Config Handler

`dir` - {string} - Name of the config dir, defaults to `config`.
`log` - {boolean} - Whether or not to output logging, defaults to `false`.
`cwd` - {string} - Current working directory location, defaults to `process.cwd()`
`env` - {string} - environment name for local config file, defaults to `NODE_ENV` or `development`.
`global` - {string} - name of the global config file to load, defaults to `all`.
`logger` - {function | object} - logger to use, defaults to `console`.
The options are passed in as an object to the config:
```js
const config = require('config')({ /* options */ });
```
* `dir` - {string} - Name of the config dir, defaults to `config`.
* `log` - {boolean} - Whether or not to output logging, defaults to `false`.
* `cwd` - {string} - Current working directory location, defaults to `process.cwd()`
* `env` - {string} - environment name for local config file, defaults to `NODE_ENV` or `development`.
* `global` - {string} - name of the global config file to load, defaults to `all`.
* `logger` - {function | object} - logger to use, defaults to `console`.
## Tests

@@ -101,0 +107,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc