validai
Version:
AI-powered text validation for slang and gibberish detection
85 lines (84 loc) • 1.96 kB
JSON
{
"name": "validai",
"version": "1.0.0",
"description": "AI-powered text validation for slang and gibberish detection",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md",
"LICENSE.md"
],
"scripts": {
"build": "tsc",
"prepare": "npm run build",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src --ext .ts",
"format": "prettier --write \"src/**/*.ts\"",
"docs": "typedoc --out docs src/index.ts"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"roots": [
"<rootDir>/src"
],
"testMatch": [
"**/__tests__/**/*.test.ts"
],
"collectCoverageFrom": [
"src/**/*.ts",
"!src/**/*.d.ts",
"!src/**/__tests__/**"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
}
}
},
"keywords": [
"validation",
"ai",
"text-validation",
"offensive-detection",
"gibberish-detection",
"gemini",
"content-moderation"
],
"author": "Priyansh Agarwal",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/Priyansh-max/ValidAi"
},
"bugs": {
"url": "https://github.com/Priyansh-max/ValidAi/issues"
},
"homepage": "https://github.com/Priyansh-max/ValidAi?tab=readme-ov-file#readme",
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/node": "^20.11.24",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"eslint": "^8.57.0",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"ts-jest": "^29.2.6",
"typedoc": "^0.25.9",
"typescript": "^5.3.3"
},
"dependencies": {
"@google/generative-ai": "^0.24.0",
"axios": "^1.8.3",
"dotenv": "^16.4.7"
},
"engines": {
"node": ">=14.0.0"
}
}