danielstjules/jsinspect
Detect copy-pasted and structurally similar code observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4371
- days_rel: n/a
- days_push: 896
- n_releases_24m: 0
Adoption not part of the score
3582 stars · 127 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
jsinspect is a Node.js CLI tool that detects copy-pasted and structurally similar JavaScript code by comparing ASTs rather than raw tokens. It supports ES6, JSX, and Flow, and reports duplicated or repeated logic with configurable thresholds and reporters.
Use cases
- find copy-pasted code in a javascript codebase
- detect structurally similar code with different identifiers
- identify repeated boilerplate logic across files
- run duplicate code detection in ci
- refactor duplicated javascript functions
- scan a project for code smell from duplication
When to choose
- you need AST-based structural duplicate detection for JavaScript, ES6, JSX, or Flow
- you want a simple CLI with json or pmd reporter output for CI integration
- existing token-based duplication tools miss code with renamed identifiers
When to avoid
- you need duplication detection for languages other than JavaScript
- you want actively developed tooling with modern Node.js support
- you need a GUI or IDE-integrated duplicate analysis
Facets
cli-tool · maturity maintenance
developer-tools parser code-review developer-tools testing cli cross-platform code-duplication copy-paste-detection static-analysis ast refactoring code-quality javascript nodejs
2 sources
- readme: https://github.com/danielstjules/jsinspect · fetched 2026-08-28 · e980e425ae81
- registry_npm: https://registry.npmjs.org/jsinspect · fetched 2026-08-29 · 0aff3a94e519
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| danielstjules/jsinspect | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="danielstjules/jsinspect")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem