@andersmyrmel/vard
Version:
Lightweight prompt injection detection for LLM applications. Zod-inspired chainable API for prompt security.
78 lines • 1.83 kB
JSON
{
"name": "@andersmyrmel/vard",
"version": "1.2.0",
"description": "Lightweight prompt injection detection for LLM applications. Zod-inspired chainable API for prompt security.",
"keywords": [
"prompt",
"injection",
"security",
"llm",
"ai",
"validation",
"guard",
"rag",
"chatbot",
"openai",
"anthropic"
],
"author": "Anders Myrmel",
"license": "MIT",
"homepage": "https://github.com/andersmyrmel/vard",
"repository": {
"type": "git",
"url": "https://github.com/andersmyrmel/vard.git"
},
"bugs": {
"url": "https://github.com/andersmyrmel/vard/issues"
},
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"sideEffects": false,
"devDependencies": {
"@types/node": "^22.10.5",
"@typescript-eslint/eslint-plugin": "^8.46.0",
"@typescript-eslint/parser": "^8.46.0",
"eslint": "^9.37.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.3",
"prettier": "^3.6.2",
"tsup": "^8.3.5",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
},
"engines": {
"node": ">=18"
},
"lint-staged": {
"*.{ts,js,json,md}": [
"prettier --write"
],
"*.{ts,js}": [
"eslint --fix"
]
},
"scripts": {
"build": "tsup src/index.ts --format esm --dts --clean",
"dev": "tsup src/index.ts --format esm --dts --watch",
"test": "vitest",
"test:run": "vitest run",
"test:coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
"lint": "eslint src tests --max-warnings 0",
"format": "prettier --write .",
"format:check": "prettier --check ."
}
}