Package Exports
- dupe-code
- dupe-code/dupe-code.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (dupe-code) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
dupe-code
Find duplicate code in your JavaScript/TypeScript-based project
- inspects your js, ts, jsx, tsx code
- generates a log
- puts it into the
/logs
directory of your project.
Install:
npm i dupe-code
Add it as a script to your package.json
file:
...
scripts: {
"dupes": "node node_modules/dupe-code/dupe-code.js"
}
Run:
npm run dupes
Now you get a log in your /logs
directory.