llm-guard
Version:
A TypeScript library for validating and securing LLM prompts
59 lines (58 loc) • 1.33 kB
JSON
{
"name": "llm-guard",
"version": "0.1.8",
"description": "A TypeScript library for validating and securing LLM prompts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"llm-guard": "./dist/cli.js"
},
"scripts": {
"build": "tsc",
"dev": "tsup --watch",
"test": "jest",
"test:watch": "jest --watch",
"lint": "eslint src/**/*.ts",
"prepare": "npm run build",
"prepublishOnly": "npm test"
},
"keywords": [
"llm",
"security",
"validation",
"prompt",
"jailbreak",
"pii",
"toxicity",
"profanity",
"prompt-injection",
"relevance"
],
"author": "Rizwan Saleem",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/therizwan/llm-guard.git"
},
"bugs": {
"url": "https://github.com/therizwan/llm-guard/issues"
},
"homepage": "https://therizwan.github.io/llm-guard/",
"documentation": "https://therizwan.github.io/llm-guard/",
"files": [
"dist",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=14.0.0"
},
"devDependencies": {
"@types/jest": "^29.5.0",
"@types/node": "^18.15.11",
"jest": "^29.5.0",
"ts-jest": "^29.1.0",
"tsup": "^8.4.0",
"typescript": "^5.0.3"
}
}