JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 12
  • Score
    100M100P100Q32231F
  • License MIT

Find duplicate code in your JavaScript/TypeScript-based project

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.