Catalog npm
Back to packageRELEASE DETAILS

0.1.1

npm

@0x-jerry/unplugin-env

Auto generate typedef for env variables.

rolluptransformunpluginvitewebpack
Published28 May 2024
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.5runtime
unplugin
Environment
{
  "local_name": "unplugin",
  "alias": false,
  "peer_metadata": null
}
^1.10.1runtime
tsx
Environment
{
  "local_name": "tsx",
  "alias": false,
  "peer_metadata": null
}
^4.11.0development
tsup
Environment
{
  "local_name": "tsup",
  "alias": false,
  "peer_metadata": null
}
^8.0.2development
vite
Environment
{
  "local_name": "vite",
  "alias": false,
  "peer_metadata": null
}
^5.2.12development
bumpp
Environment
{
  "local_name": "bumpp",
  "alias": false,
  "peer_metadata": null
}
^9.4.1development
chalk
Environment
{
  "local_name": "chalk",
  "alias": false,
  "peer_metadata": null
}
^5.3.0development
rollup
Environment
{
  "local_name": "rollup",
  "alias": false,
  "peer_metadata": null
}
^4.18.0development
vitest
Environment
{
  "local_name": "vitest",
  "alias": false,
  "peer_metadata": null
}
^1.6.0development
nodemon
Environment
{
  "local_name": "nodemon",
  "alias": false,
  "peer_metadata": null
}
^3.1.1development
webpack
Environment
{
  "local_name": "webpack",
  "alias": false,
  "peer_metadata": null
}
^5.91.0development
fast-glob
Environment
{
  "local_name": "fast-glob",
  "alias": false,
  "peer_metadata": null
}
^3.3.2development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^5.4.5development
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^20.12.12development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "91d0314c1a6db6aacb5d8f4eae1a2604f12507fb",
  "tarball": "https://registry.npmjs.org/@0x-jerry/unplugin-env/-/unplugin-env-0.1.1.tgz",
  "fileCount": 32,
  "integrity": "sha512-37SJ7Z5Vmfj56vCx2CiHxkH1Lk85wF8J8nPLFAVSk25Ny9aqIpNGfNYpkQyuWp/iWCpxIyG74sH1uhSmLsJMAg==",
  "signatures": [
    {
      "sig": "MEYCIQC2eucqTSzlWM1PU8iYO3GG7e1iQTI4t1cUbv+LCDBChQIhAJDEcTCKHMxy+/JoJPJfGpdeIZeT93SOy3kcM2jTFWhM",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 44420
}

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:e7ec4cdb7c814c1dab9252a938fbdea341c043a5997b36b5eecedc725a9fc8fb

Other collected versions

0.1.31 Mar0.1.21 Mar0.1.013 Sept0.1.0-beta.011 AugView all collected versions →