Catalog npm
PACKAGE EXPLORERView in registry

@01/env

npm

A tiny env parser for nodejs and browser

envnodejsutils
Versions collected20
Direct dependencies3From release 2.4.2
Last observed20 Oct, 21:56 UTC

README

Current package documentation

env

CircleCI Maintainability Test Coverage

Nodejs env utils

env

const nodeEnv:string = env("NODE_ENV", "development")
// process.env.NODE_ENV or "development"

envInt

const timeout:number = envInt("TIMEOUT", 5000)
// process.env.TIMEOUT as int or 5000

envFloat

const scaleFactor:number = envFloat("SCALE_FACTOR", 2.56)
// process.env.SCALE_FACTOR as float or 2.56

envBoolean

const isEnabled:boolean = envBoolean("IS_ENABLED", false)
// process.env.IS_ENABLED as boolean or false

Downloads & popularity

Awaiting observations

No metric observations yet

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

Versions 20

Collected releases
VersionPublishedDirect dependenciesOpen version
2.4.2Registry latest2 Jan 20263
2.4.02 Jan 20263
2.3.12 Jan 20263
0.1.51 Jan 20263
0.1.329 Dec 20253
2.2.217 Jan 20240
2.2.116 Jan 20240
2.2.018 Dec 20230
2.1.215 Dec 20230
2.0.412 Apr 20227
2.0.310 Oct 20207
2.0.210 Oct 20207
2.0.12 Oct 20204
1.0.62 Oct 20204
1.0.530 Sept 202017
1.0.429 Sept 202017
1.0.329 Sept 202017
1.0.21 Aug 201917
1.0.130 Jul 201917
1.0.030 Jul 201917

Package advisories

0
No matching advisories collected

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

Repository

PENDING
01alchemist/web-servicelib-

Shared repository data · GitHub

License detected in repository
Not collected

Repository

NOT_FOUND
01alchemist/web-service-lib

Shared repository data · GitHub

License detected in repository
Not collected

Repository

PENDING
01alchemist/env

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:55 UTC

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

Record identity

package:98958c816d865ab7537e0380d5a1f4b442f4c203b435b43bcf9fcbc2c3769270