Catalog npm
Back to packageRELEASE DETAILS

0.1.3

npm

@01/env

A tiny env parser for nodejs and browser

envnodejsutils
Published29 Dec 2025
Direct dependencies3
Transitive dependenciesNot calculated

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.

Declared dependencies 3

Native requirements
3 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
vite
Environment
{
  "local_name": "vite",
  "alias": false,
  "peer_metadata": null
}
^5.0.0development
@01/core-tools
Environment
{
  "local_name": "@01/core-tools",
  "alias": false,
  "peer_metadata": null
}
^0.3.3development
vite-plugin-dts
Environment
{
  "local_name": "vite-plugin-dts",
  "alias": false,
  "peer_metadata": null
}
^3.6.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "522bab301cdd53d182bfab688f94b74b60391323",
  "tarball": "https://registry.npmjs.org/@01/env/-/env-0.1.3.tgz",
  "fileCount": 13,
  "integrity": "sha512-DBn2SeJrulkVCuPyJsq4h4GSy8za0xZ+3QfpSC6nfnuMB23fEBP7G3wRH4hf/oA6fVEQAUpeTWHNjF2Yt1QGjQ==",
  "signatures": [
    {
      "sig": "MEUCIFAZLJKixOTo1j++YmGIrp7xji5YwGYRDSzUTD1xxyvAAiEAjXKcWbecHcHrjRUBn1AUEWI1RPtSwDuqNEsqSU8RnSA=",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    }
  ],
  "unpackedSize": 13599
}

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:56 UTC

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

Record identity

package_version:e298d97dde9be3bee81b3d9a324d78dbf3c230c88ce5601a4a92b2e9d1da8763

Other collected versions

2.4.22 Jan2.4.02 Jan2.3.12 Jan0.1.51 Jan2.2.217 Jan2.2.116 JanView all collected versions →