Catalog npm
PACKAGE EXPLORERView in registry

3nv

npm

.env toolbox

.envconfigdotenvenvenvironmentsettingsvariables
Versions collected10
Direct dependencies7From release 2.0.7
Last observed20 Oct, 19:50 UTC

README

Current package documentation

3nv

tool for managing .env file

yarn add 3nv

Usage

Get config from .env file without modifying process.env

import { init } from './lib/index.js';

const config = init();

Init parameters:

NameDefault valuePossible valuesDescription
path'.env'stringPath to .env file
modifyProcessEnvfalsebooleanAdd env vars to process.env object
verbosefalsebooleanExtended logging
copyFromExampletruebooleanCopy .env.example content to .env file if it doesn't exists

CLI

The package provides command for copying your .env template to .env.example file:

# package.json
{
  "scripts": {
    "dump": "3nv dump"
  }
}
yarn dump

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 10

Collected releases
VersionPublishedDirect dependenciesOpen version
2.0.7Registry latest1 May 20227
2.0.61 May 20227
2.0.51 May 20227
2.0.41 May 20227
2.0.31 May 20227
2.0.21 May 20227
2.0.11 May 20227
2.0.01 May 20227
1.0.123 Mar 20200
1.0.023 Mar 20200

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
ampa1r/3nv

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:50 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:0d162e6c128b4e6bb202eaea409259b1612ecbb130d75c7893d46d40db5ff517