-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 2.39 KB
/
Copy pathpackage.json
File metadata and controls
71 lines (71 loc) · 2.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"name": "karpeslop",
"version": "1.0.27",
"description": "The linter Andrej Karpathy wishes existed. Detects the three axes of AI slop with extreme prejudice.",
"type": "module",
"packageManager": "npm@10.9.7",
"bin": {
"karpeslop": "karpeslop-cli.js"
},
"scripts": {
"build": "babel ai-slop-detector.ts --out-file karpeslop-bin.js --extensions \".ts,.tsx\"",
"test": "node --import tsx --test tests/*.test.ts",
"slop": "tsx ai-slop-detector.ts",
"slop:quiet": "tsx ai-slop-detector.ts --quiet",
"slop:report": "tsx ai-slop-detector.ts && cat ai-slop-report.json"
},
"files": [
"ai-slop-detector.ts",
"karpeslop-cli.js",
"README.md",
"CHANGELOG.md",
"package.json",
"LICENSE"
],
"keywords": [
"ai-slop",
"ai-detection",
"ai-generated-code",
"code-quality",
"linting",
"linter",
"static-analysis",
"code-review",
"typescript",
"javascript",
"copilot",
"github-copilot",
"karpathy",
"slop-detector",
"type-safety",
"code-smell",
"vibe-coding",
"ai-code-review",
"developer-tools",
"cli"
],
"author": "Daniel King <89734689+CodeDeficient@users.noreply.github.com> (https://github.com/CodeDeficient)",
"license": "MIT",
"llms": "A fast TypeScript/JavaScript linter that detects AI-generated code slop. Inspired by Andrej Karpathy. Detects: hallucinated imports, any-type abuse, hedging comments, TODOs, overconfident comments. Use: npx karpeslop@latest",
"llmsFull": "KarpeSlop is a static analysis tool for detecting 'AI slop' in TypeScript and JavaScript code. It identifies three categories of problems: (1) Information Utility - noise like redundant comments and console logs, (2) Information Quality - lies like hallucinated imports from wrong packages, (3) Style/Taste - soul-less patterns like overconfident comments and vibe coding. Run with: npx karpeslop@latest. Use --strict for CI/CD to block on critical issues. Outputs a Karpe-Slop Index score.",
"dependencies": {
"glob": "13.0.6",
"tsx": "4.22.4"
},
"repository": {
"type": "git",
"url": "git+https://github.com/CodeDeficient/karpeslop.git"
},
"devDependencies": {
"@babel/cli": "7.29.7",
"@babel/core": "7.29.7",
"@babel/preset-typescript": "7.29.7",
"@types/node": "25.9.2",
"typescript": "6.0.3"
},
"overrides": {
"@babel/cli": {
"minimatch": "3.1.4"
}
}
}