Current collected state Current
Observed since 20 Oct, 19:50 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
.env toolbox
tool for managing .env file
yarn add 3nv
Get config from .env file without modifying process.env
import { init } from './lib/index.js';
const config = init();
Init parameters:
| Name | Default value | Possible values | Description |
|---|---|---|---|
| path | '.env' | string | Path to .env file |
| modifyProcessEnv | false | boolean | Add env vars to process.env object |
| verbose | false | boolean | Extended logging |
| copyFromExample | true | boolean | Copy .env.example content to .env file if it doesn't exists |
The package provides command for copying your .env template to .env.example file:
# package.json
{
"scripts": {
"dump": "3nv dump"
}
}
yarn dump
Download counts and popularity will appear here as the collector receives them.
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 19:50 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:0d162e6c128b4e6bb202eaea409259b1612ecbb130d75c7893d46d40db5ff517