UNPKG

nested-env-schema

Version:

Validate & extract your env variables using nested JSON schema, Ajv and dotenvx

50 lines (49 loc) 1.25 kB
{ "name": "nested-env-schema", "version": "1.3.1", "description": "Validate & extract your env variables using nested JSON schema, Ajv and dotenvx", "main": "lib/index.js", "types": "types/index.d.ts", "scripts": { "format": "prettier --write . --log-level warn", "format-check": "prettier --check .", "lint": "eslint .", "lint-fix": "eslint --fix .", "test": "pnpm test:unit && pnpm test:typescript", "test:unit": "tap", "test:typescript": "tsd" }, "repository": { "type": "git", "url": "git+https://github.com/pksunkara/nested-env-schema.git" }, "keywords": [ "ajv", "env", "nested", "schema", "json", "dotenv", "validate", "extract" ], "author": "Pavan Kumar Sunkara <pavan.sss1991@gmail.com> (pksunkara.com)", "license": "MIT", "bugs": { "url": "https://github.com/pksunkara/nested-env-schema/issues" }, "dependencies": { "ajv": "^8.12.0", "@dotenvx/dotenvx": "^1.11.1" }, "devDependencies": { "ajv-formats": "~2.1.1", "eslint": "~8.57.0", "eslint-config-prettier": "~9.0.0", "eslint-plugin-prettier": "~5.0.0", "prettier": "~3.0.1", "tap": "~21.0.1", "tsd": "~0.29.0", "zod": "~3.25.64" } }