Language-specific deslop CLIs for finding high-signal AI-code slop patterns. The package is designed to be published to npm and used through npx d3sl0p.
npx d3sl0p typescript --report-min error src test
npx d3sl0p ts --fail-on none --report-min lead .The package also exposes a language-specific binary when installed as a dependency or global tool:
d3sl0p-typescript --report-min error src testFor one-off npx execution of a non-primary bin, use npm's package selection form:
npx --package d3sl0p d3sl0p-typescript --report-min error src testHard/blocking checks:
as anyandas unknown astype escape hatches;- identical ternary branches;
- simple identical
if/elsebranches.
Warning/lead checks:
- long positional parameter lists;
- bare numeric
setTimeout/setIntervaldelays; - non-null assertions;
- optional calls near code that may assume the side effect ran.
Use hard checks in gates:
npx d3sl0p typescript --report-min error .Use the full advisory scan during review:
npx d3sl0p typescript --fail-on none --report-min lead .Warnings and leads are not proof of failure by themselves; they require semantic review.
d3sl0p <language> is intentionally thin. It resolves the language alias and passes every remaining argument to the language-specific CLI unchanged.
Supported languages today:
typescript/ts
npm run qualityThe test suite creates temporary TypeScript fixtures under /tmp and verifies both the TypeScript scanner and wrapper pass-through behavior.