prompt-bouncer
Version:
A lightweight, customizable content moderation library for AI applications. Filters profanity, explicit content, and inappropriate prompts for text-to-image generation.
50 lines (49 loc) • 1.3 kB
JSON
{
"name": "prompt-bouncer",
"version": "1.0.6",
"description": "A lightweight, customizable content moderation library for AI applications. Filters profanity, explicit content, and inappropriate prompts for text-to-image generation.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"prepublishOnly": "npm run build",
"clean": "rm -rf dist"
},
"keywords": [
"content-moderation",
"profanity-filter",
"ai-safety",
"text-filtering",
"content-safety",
"moderation",
"nsfw-filter",
"ai-content-filter",
"typescript"
],
"author": {
"name": "kaweendras"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/kaweendras/prompt-bouncer/issues"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/node": "^20.6.0",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
},
"engines": {
"node": ">=14.0.0"
}
}