• Public
  • Public/Protected
  • All

jscpd - copy/paste detector


npm jscpd license Travis npm codecov FOSSA Status Backers on Open Collective Sponsors on Open Collective


Copy/paste detector for programming source code, supports 150+ formats.

Copy/paste is a common technical debt on a lot of projects. The jscpd gives the ability to find duplicated blocks implemented on more than 150 programming languages and digital formats of documents. The jscpd tool implements Rabin-Karp algorithm for searching duplications.

jscpd screenshot

Packages of jscpd

name version description
jscpd npm cli tool for detect duplications
@jscpd/core npm core detection algorithm, can be used for detect duplication in different environments, one dependency to eventemmiter3
@jscpd/finder npm detector of duplication in files
@jscpd/tokenizer npm tool for tokenize programming source code
@jscpd/leveldb-store npm LevelDB store, used for big repositories, slower that default store

Who uses jscpd


This project exists thanks to all the people who contribute.


Thank you to all our backers! 🙏 [Become a backer]


Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

ga tracker


MIT © Andrey Kucherenko

Generated using TypeDoc