[{"data":1,"prerenderedAt":352},["ShallowReactive",2],{"navigation_docs":3,"-getting-started-introduction":72,"-getting-started-introduction-surround":349},[4,30,51],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"/getting-started","1.getting-started",[10,15,20,25],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","/getting-started/introduction","1.getting-started/2.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Installation","/getting-started/installation","1.getting-started/3.installation","i-lucide-download",{"title":21,"path":22,"stem":23,"icon":24},"Configuration","/getting-started/configuration","1.getting-started/4.configuration","i-lucide-settings",{"title":26,"path":27,"stem":28,"icon":29},"Supported Formats","/getting-started/supported-formats","1.getting-started/5.supported-formats","i-lucide-file-code",{"title":31,"path":32,"stem":33,"children":34,"icon":36},"Reporters","/reporters","2.reporters/1.index",[35,37,41,46],{"title":31,"path":32,"stem":33,"icon":36},"i-lucide-file-chart-column",{"title":38,"path":39,"stem":40,"icon":29},"HTML Reporter","/reporters/html","2.reporters/2.html",{"title":42,"path":43,"stem":44,"icon":45},"JSON Reporter","/reporters/json","2.reporters/3.json","i-lucide-braces",{"title":47,"path":48,"stem":49,"icon":50},"Badge Reporter","/reporters/badge","2.reporters/4.badge","i-lucide-award",{"title":52,"path":53,"stem":54,"children":55,"icon":57},"API","/api","3.api/1.index",[56,58,63,68],{"title":52,"path":53,"stem":54,"icon":57},"i-lucide-code",{"title":59,"path":60,"stem":61,"icon":62},"Core Package","/api/core","3.api/2.core","i-lucide-box",{"title":64,"path":65,"stem":66,"icon":67},"Server API","/api/server","3.api/3.server","i-lucide-server",{"title":69,"path":70,"stem":71,"icon":62},"MCP Server","/api/mcp-server","3.api/4.mcp-server",{"id":73,"title":11,"body":74,"description":341,"extension":342,"links":343,"meta":344,"navigation":345,"path":12,"seo":346,"stem":13,"__hash__":348},"docs/1.getting-started/2.introduction.md",{"type":75,"value":76,"toc":335},"minimark",[77,90,95,98,109,113,136,140,143,242,246,325,331],[78,79,80,81,85,86,89],"p",{},"Welcome to ",[82,83,84],"strong",{},"jscpd",", a powerful copy/paste detector for programming source code that supports ",[82,87,88],{},"150+ languages and formats",".",[91,92,94],"h2",{"id":93},"what-is-jscpd","What is jscpd?",[78,96,97],{},"jscpd is a tool that helps you find duplicated blocks in programming source code. Copy/paste is a common source of technical debt in software projects, and jscpd helps you identify and eliminate these duplications.",[78,99,100,101,108],{},"The tool implements the ",[102,103,107],"a",{"href":104,"rel":105},"https://en.wikipedia.org/wiki/Rabin%E2%80%93Karp_algorithm",[106],"nofollow","Rabin-Karp algorithm"," for efficient searching of duplications across large codebases.",[91,110,112],{"id":111},"key-features","Key Features",[114,115,116,122,127,132],"card-group",{},[117,118,121],"card",{"icon":119,"title":120},"i-lucide-languages","150+ Languages","Supports JavaScript, TypeScript, Python, Java, C++, Go, Rust, and many more programming languages and document formats.",[117,123,126],{"icon":124,"title":125},"i-lucide-zap","Fast Detection","Uses the efficient Rabin-Karp algorithm for quick duplicate detection even in large codebases.",[117,128,131],{"icon":129,"title":130},"i-lucide-terminal","CLI & API","Use via command line or integrate programmatically into your Node.js applications.",[117,133,135],{"icon":36,"title":134},"Multiple Reporters","Generate reports in HTML, JSON, XML, Markdown, and more for easy integration with CI/CD.",[91,137,139],{"id":138},"packages","Packages",[78,141,142],{},"jscpd is modular and consists of several packages:",[144,145,146,159],"table",{},[147,148,149],"thead",{},[150,151,152,156],"tr",{},[153,154,155],"th",{},"Package",[153,157,158],{},"Description",[160,161,162,172,182,192,202,212,222,232],"tbody",{},[150,163,164,169],{},[165,166,167],"td",{},[82,168,84],{},[165,170,171],{},"Main package with CLI and detection API",[150,173,174,179],{},[165,175,176],{},[82,177,178],{},"jscpd-server",[165,180,181],{},"Standalone server application",[150,183,184,189],{},[165,185,186],{},[82,187,188],{},"@jscpd/core",[165,190,191],{},"Core detection algorithm",[150,193,194,199],{},[165,195,196],{},[82,197,198],{},"@jscpd/finder",[165,200,201],{},"File duplication detector",[150,203,204,209],{},[165,205,206],{},[82,207,208],{},"@jscpd/tokenizer",[165,210,211],{},"Source code tokenizer",[150,213,214,219],{},[165,215,216],{},[82,217,218],{},"@jscpd/html-reporter",[165,220,221],{},"HTML report generator",[150,223,224,229],{},[165,225,226],{},[82,227,228],{},"@jscpd/badge-reporter",[165,230,231],{},"Badge generator for README files",[150,233,234,239],{},[165,235,236],{},[82,237,238],{},"@jscpd/leveldb-store",[165,240,241],{},"LevelDB store for big repositories",[91,243,245],{"id":244},"quick-example","Quick Example",[247,248,253],"pre",{"className":249,"code":250,"language":251,"meta":252,"style":252},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Install globally\nnpm install -g jscpd\n\n# Run on your source code\njscpd /path/to/source\n\n# Or use npx without installing\nnpx jscpd /path/to/source\n","bash","",[254,255,256,265,282,289,295,303,308,314],"code",{"__ignoreMap":252},[257,258,261],"span",{"class":259,"line":260},"line",1,[257,262,264],{"class":263},"sHwdD","# Install globally\n",[257,266,268,272,276,279],{"class":259,"line":267},2,[257,269,271],{"class":270},"sBMFI","npm",[257,273,275],{"class":274},"sfazB"," install",[257,277,278],{"class":274}," -g",[257,280,281],{"class":274}," jscpd\n",[257,283,285],{"class":259,"line":284},3,[257,286,288],{"emptyLinePlaceholder":287},true,"\n",[257,290,292],{"class":259,"line":291},4,[257,293,294],{"class":263},"# Run on your source code\n",[257,296,298,300],{"class":259,"line":297},5,[257,299,84],{"class":270},[257,301,302],{"class":274}," /path/to/source\n",[257,304,306],{"class":259,"line":305},6,[257,307,288],{"emptyLinePlaceholder":287},[257,309,311],{"class":259,"line":310},7,[257,312,313],{"class":263},"# Or use npx without installing\n",[257,315,317,320,323],{"class":259,"line":316},8,[257,318,319],{"class":270},"npx",[257,321,322],{"class":274}," jscpd",[257,324,302],{"class":274},[78,326,327,328,330],{},"Ready to get started? Head to the ",[102,329,16],{"href":17}," guide.",[332,333,334],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":252,"searchDepth":267,"depth":267,"links":336},[337,338,339,340],{"id":93,"depth":267,"text":94},{"id":111,"depth":267,"text":112},{"id":138,"depth":267,"text":139},{"id":244,"depth":267,"text":245},"Welcome to jscpd documentation.","md",null,{},{"icon":14},{"title":11,"description":347},"Learn about jscpd - the copy/paste detector for 150+ programming languages.","N3s1-izgxhoa-RBwsb7Jk7JeQjHlPlcIWvDkVnsZRTA",[343,350],{"title":16,"path":17,"stem":18,"description":351,"icon":19,"children":-1},"Get started with jscpd.",1772457399361]