New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@arkenv/vite-plugin

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arkenv/vite-plugin

ArkEnv plugin for Vite

latest
Source
npmnpm
Version
0.0.32
Version published
Maintainers
1
Created
Source

@arkenv/vite-plugin

Vite plugin to validate environment variables at build-time with ArkEnv.




Read the docs →



Features

  • Build-time validation - app won't start if environment variables are invalid
  • Typesafe environment variables backed by TypeScript
  • Access to ArkType's powerful type system

[!IMPORTANT] This plugin requires arktype to be installed in your project.

You can still use Zod or Valibot schemas alongside ArkType's DSL, since ArkType natively supports Standard Schema.

See the docs for details.

Installation

npm
npm install @arkenv/vite-plugin arktype
pnpm
pnpm add @arkenv/vite-plugin arktype
Yarn
yarn add @arkenv/vite-plugin arktype
Bun
bun add @arkenv/vite-plugin arktype

FAQ

Why is this a Vite only plugin? (And not a Rollup plugin?)

This plugin uses the Vite specific config hook, which is not available in Rollup.

Examples

  • ArkEnv - Core library and docs
  • ArkType - Underlying validator / type system

Keywords

arktype

FAQs

Package last updated on 24 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts