Catalog npm
Back to packageRELEASE DETAILS

0.1.3

npm

@0x-jerry/unplugin-env

Auto generate typedef for env variables.

rolluptransformunpluginvitewebpack
Published1 Mar 2025
Direct dependencies14
Transitive dependenciesNot calculated

README

Current package documentation

Unplugin env

Auto generate typedef for env variables.

Install

npm i @0x-jerry/unplugin-env

Usage

Vite

// vite.config.ts
import Env from '@0x-jerry/unplugin-env/vite'

export default defineConfig({
  plugins: [
    Env({
      /* options */
    }),
  ],
})

Example: playground/

Webpack

// webpack.config.js
module.exports = {
  /* ... */
  plugins: [
    require('@0x-jerry/unplugin-env/webpack')({
      /* options */
    }),
  ],
}

Downloads & popularity

Awaiting observations

No metric observations yet

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

Declared dependencies 14

Native requirements
14 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
dotenv
Environment
{
  "local_name": "dotenv",
  "alias": false,
  "peer_metadata": null
}
^16.4.7runtime
unplugin
Environment
{
  "local_name": "unplugin",
  "alias": false,
  "peer_metadata": null
}
^2.2.0runtime
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^22.13.8development
bumpp
Environment
{
  "local_name": "bumpp",
  "alias": false,
  "peer_metadata": null
}
^10.0.3development
chalk
Environment
{
  "local_name": "chalk",
  "alias": false,
  "peer_metadata": null
}
^5.4.1development
fast-glob
Environment
{
  "local_name": "fast-glob",
  "alias": false,
  "peer_metadata": null
}
^3.3.3development
nodemon
Environment
{
  "local_name": "nodemon",
  "alias": false,
  "peer_metadata": null
}
^3.1.9development
rollup
Environment
{
  "local_name": "rollup",
  "alias": false,
  "peer_metadata": null
}
^4.34.9development
tsup
Environment
{
  "local_name": "tsup",
  "alias": false,
  "peer_metadata": null
}
^8.4.0development
tsx
Environment
{
  "local_name": "tsx",
  "alias": false,
  "peer_metadata": null
}
^4.19.3development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^5.8.2development
vite
Environment
{
  "local_name": "vite",
  "alias": false,
  "peer_metadata": null
}
^6.2.0development
vitest
Environment
{
  "local_name": "vitest",
  "alias": false,
  "peer_metadata": null
}
^3.0.7development
webpack
Environment
{
  "local_name": "webpack",
  "alias": false,
  "peer_metadata": null
}
^5.98.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-gK2zzybjyTXjpv5/MUfNmVxLAxJZdofK7WSVcueEnw/5J+Y08OSd9Iyl0NZidcKqPT9uQrEenzqWpxT64EVvVw==",
  "shasum": "cfbd713b581115b2ec737cf871e2e8dabbaaa323",
  "tarball": "https://registry.npmjs.org/@0x-jerry/unplugin-env/-/unplugin-env-0.1.3.tgz",
  "fileCount": 32,
  "unpackedSize": 44544,
  "signatures": [
    {
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
      "sig": "MEUCIQDjb6YN0LbKoHEVig3/c4w8CY6ZMUqYYvkJUeUnPkjCcAIgKumKSjFC0GFa42zPFXvVMJC94VOrZuiYjownvjgzVrI="
    }
  ]
}

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:16 UTC

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

Record identity

package_version:6bbffda5f5aab3d18e2595091282d65bb0e4dcd6c1d7d8e6d889f3ada5f84f7f

Other collected versions

0.1.21 Mar0.1.128 May0.1.013 Sept0.1.0-beta.011 AugView all collected versions →