[{"data":1,"prerenderedAt":754},["ShallowReactive",2],{"navigation_docs":3,"-getting-started-supported-formats":72,"-getting-started-supported-formats-surround":749},[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":26,"body":74,"description":741,"extension":742,"links":743,"meta":744,"navigation":745,"path":27,"seo":746,"stem":28,"__hash__":748},"docs/1.getting-started/5.supported-formats.md",{"type":75,"value":76,"toc":734},"minimark",[77,82,91,94,97,554,558,561,596,599,685,689,692,709,713,716,730],[78,79,81],"h2",{"id":80},"overview","Overview",[83,84,85,86,90],"p",{},"jscpd supports ",[87,88,89],"strong",{},"150+ programming languages and document formats"," for duplication detection.",[78,92,26],{"id":93},"supported-formats",[83,95,96],{},"jscpd supports the following formats:",[98,99,100,104,107,110,113,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,176,179,182,185,188,191,194,197,200,203,206,209,212,215,218,221,224,227,230,233,236,239,242,245,248,251,254,257,260,263,266,269,272,275,278,281,284,287,290,293,296,299,302,305,308,311,314,317,320,323,326,329,332,335,338,341,344,347,350,353,356,359,362,365,368,371,374,377,380,383,386,389,392,395,398,401,404,407,410,413,416,419,422,425,428,431,434,437,440,443,446,449,452,455,458,461,464,467,470,473,476,479,482,485,488,491,494,497,500,503,506,509,512,515,518,521,524,527,530,533,536,539,542,545,548,551],"ul",{},[101,102,103],"li",{},"abap",[101,105,106],{},"actionscript",[101,108,109],{},"ada",[101,111,112],{},"apacheconf",[101,114,115],{},"apl",[101,117,118],{},"applescript",[101,120,121],{},"arduino",[101,123,124],{},"arff",[101,126,127],{},"asciidoc",[101,129,130],{},"asm6502",[101,132,133],{},"aspnet",[101,135,136],{},"autohotkey",[101,138,139],{},"autoit",[101,141,142],{},"bash",[101,144,145],{},"basic",[101,147,148],{},"batch",[101,150,151],{},"bison",[101,153,154],{},"brainfuck",[101,156,157],{},"bro",[101,159,160],{},"c",[101,162,163],{},"c-header",[101,165,166],{},"clike",[101,168,169],{},"clojure",[101,171,172],{},"coffeescript",[101,174,175],{},"comments",[101,177,178],{},"cpp",[101,180,181],{},"cpp-header",[101,183,184],{},"crystal",[101,186,187],{},"csharp",[101,189,190],{},"csp",[101,192,193],{},"css-extras",[101,195,196],{},"css",[101,198,199],{},"d",[101,201,202],{},"dart",[101,204,205],{},"diff",[101,207,208],{},"django",[101,210,211],{},"docker",[101,213,214],{},"eiffel",[101,216,217],{},"elixir",[101,219,220],{},"elm",[101,222,223],{},"erb",[101,225,226],{},"erlang",[101,228,229],{},"flow",[101,231,232],{},"fortran",[101,234,235],{},"fsharp",[101,237,238],{},"gedcom",[101,240,241],{},"gherkin",[101,243,244],{},"git",[101,246,247],{},"glsl",[101,249,250],{},"go",[101,252,253],{},"graphql",[101,255,256],{},"groovy",[101,258,259],{},"haml",[101,261,262],{},"handlebars",[101,264,265],{},"haskell",[101,267,268],{},"haxe",[101,270,271],{},"hpkp",[101,273,274],{},"hsts",[101,276,277],{},"http",[101,279,280],{},"ichigojam",[101,282,283],{},"icon",[101,285,286],{},"inform7",[101,288,289],{},"ini",[101,291,292],{},"io",[101,294,295],{},"j",[101,297,298],{},"java",[101,300,301],{},"javascript",[101,303,304],{},"jolie",[101,306,307],{},"json",[101,309,310],{},"jsx",[101,312,313],{},"julia",[101,315,316],{},"keymap",[101,318,319],{},"kotlin",[101,321,322],{},"latex",[101,324,325],{},"less",[101,327,328],{},"liquid",[101,330,331],{},"lisp",[101,333,334],{},"livescript",[101,336,337],{},"lolcode",[101,339,340],{},"lua",[101,342,343],{},"makefile",[101,345,346],{},"markdown",[101,348,349],{},"markup",[101,351,352],{},"matlab",[101,354,355],{},"mel",[101,357,358],{},"mizar",[101,360,361],{},"monkey",[101,363,364],{},"n4js",[101,366,367],{},"nasm",[101,369,370],{},"nginx",[101,372,373],{},"nim",[101,375,376],{},"nix",[101,378,379],{},"nsis",[101,381,382],{},"objectivec",[101,384,385],{},"ocaml",[101,387,388],{},"opencl",[101,390,391],{},"oz",[101,393,394],{},"parigp",[101,396,397],{},"pascal",[101,399,400],{},"perl",[101,402,403],{},"php",[101,405,406],{},"plsql",[101,408,409],{},"powershell",[101,411,412],{},"processing",[101,414,415],{},"prolog",[101,417,418],{},"properties",[101,420,421],{},"protobuf",[101,423,424],{},"pug",[101,426,427],{},"puppet",[101,429,430],{},"pure",[101,432,433],{},"python",[101,435,436],{},"q",[101,438,439],{},"qore",[101,441,442],{},"r",[101,444,445],{},"reason",[101,447,448],{},"renpy",[101,450,451],{},"rest",[101,453,454],{},"rip",[101,456,457],{},"roboconf",[101,459,460],{},"ruby",[101,462,463],{},"rust",[101,465,466],{},"sas",[101,468,469],{},"sass",[101,471,472],{},"scala",[101,474,475],{},"scheme",[101,477,478],{},"scss",[101,480,481],{},"smalltalk",[101,483,484],{},"smarty",[101,486,487],{},"soy",[101,489,490],{},"sql",[101,492,493],{},"stylus",[101,495,496],{},"swift",[101,498,499],{},"tap",[101,501,502],{},"tcl",[101,504,505],{},"textile",[101,507,508],{},"tsx",[101,510,511],{},"tt2",[101,513,514],{},"twig",[101,516,517],{},"typescript",[101,519,520],{},"vbnet",[101,522,523],{},"velocity",[101,525,526],{},"verilog",[101,528,529],{},"vhdl",[101,531,532],{},"vim",[101,534,535],{},"visual-basic",[101,537,538],{},"wasm",[101,540,541],{},"wiki",[101,543,544],{},"xeora",[101,546,547],{},"xojo",[101,549,550],{},"xquery",[101,552,553],{},"yaml",[78,555,557],{"id":556},"custom-format-extensions","Custom Format Extensions",[83,559,560],{},"You can define custom format extensions:",[562,563,567],"pre",{"className":564,"code":565,"language":142,"meta":566,"style":566},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","jscpd --formats-exts \"javascript:js,es6,vue\" ./src\n","",[568,569,570],"code",{"__ignoreMap":566},[571,572,575,579,583,587,590,593],"span",{"class":573,"line":574},"line",1,[571,576,578],{"class":577},"sBMFI","jscpd",[571,580,582],{"class":581},"sfazB"," --formats-exts",[571,584,586],{"class":585},"sMK4o"," \"",[571,588,589],{"class":581},"javascript:js,es6,vue",[571,591,592],{"class":585},"\"",[571,594,595],{"class":581}," ./src\n",[83,597,598],{},"Or in configuration:",[562,600,604],{"className":601,"code":602,"filename":603,"language":307,"meta":566,"style":566},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"formatsExts\": {\n    \"javascript\": [\"js\", \"es6\", \"vue\"]\n  }\n}\n",".jscpd.json",[568,605,606,611,629,673,679],{"__ignoreMap":566},[571,607,608],{"class":573,"line":574},[571,609,610],{"class":585},"{\n",[571,612,614,617,621,623,626],{"class":573,"line":613},2,[571,615,616],{"class":585},"  \"",[571,618,620],{"class":619},"spNyl","formatsExts",[571,622,592],{"class":585},[571,624,625],{"class":585},":",[571,627,628],{"class":585}," {\n",[571,630,632,635,637,639,641,644,646,649,651,654,656,659,661,663,665,668,670],{"class":573,"line":631},3,[571,633,634],{"class":585},"    \"",[571,636,301],{"class":577},[571,638,592],{"class":585},[571,640,625],{"class":585},[571,642,643],{"class":585}," [",[571,645,592],{"class":585},[571,647,648],{"class":581},"js",[571,650,592],{"class":585},[571,652,653],{"class":585},",",[571,655,586],{"class":585},[571,657,658],{"class":581},"es6",[571,660,592],{"class":585},[571,662,653],{"class":585},[571,664,586],{"class":585},[571,666,667],{"class":581},"vue",[571,669,592],{"class":585},[571,671,672],{"class":585},"]\n",[571,674,676],{"class":573,"line":675},4,[571,677,678],{"class":585},"  }\n",[571,680,682],{"class":573,"line":681},5,[571,683,684],{"class":585},"}\n",[78,686,688],{"id":687},"format-detection","Format Detection",[83,690,691],{},"jscpd automatically detects the format based on file extension. You can also force a specific format:",[562,693,695],{"className":564,"code":694,"language":142,"meta":566,"style":566},"jscpd --format javascript ./src\n",[568,696,697],{"__ignoreMap":566},[571,698,699,701,704,707],{"class":573,"line":574},[571,700,578],{"class":577},[571,702,703],{"class":581}," --format",[571,705,706],{"class":581}," javascript",[571,708,595],{"class":581},[78,710,712],{"id":711},"view-full-list","View Full List",[83,714,715],{},"You can also view the full list of supported formats by running:",[562,717,721],{"className":718,"code":719,"language":720,"meta":566,"style":566},"language-shell shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","jscpd --list\n","shell",[568,722,723],{"__ignoreMap":566},[571,724,725,727],{"class":573,"line":574},[571,726,578],{"class":577},[571,728,729],{"class":581}," --list\n",[731,732,733],"style",{},"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 pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}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);}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}",{"title":566,"searchDepth":613,"depth":613,"links":735},[736,737,738,739,740],{"id":80,"depth":613,"text":81},{"id":93,"depth":613,"text":26},{"id":556,"depth":613,"text":557},{"id":687,"depth":613,"text":688},{"id":711,"depth":613,"text":712},"Languages and formats supported by jscpd.","md",null,{},{"icon":29},{"title":26,"description":747},"List of 150+ programming languages and formats supported by jscpd.","mNjhBUmqW7JXdPtLJUODKoLCrmwJmUqfMsPANIGPiH0",[750,752],{"title":21,"path":22,"stem":23,"description":751,"icon":24,"children":-1},"Configure jscpd for your project.",{"title":31,"path":32,"stem":33,"description":753,"icon":36,"children":-1},"Output formats and reporters in jscpd.",1772457399361]