jscpd supports 150+ programming languages and document formats for duplication detection.
jscpd supports the following formats:
You can define custom format extensions:
jscpd --formats-exts "javascript:js,es6,vue" ./src
Or in configuration:
{
"formatsExts": {
"javascript": ["js", "es6", "vue"]
}
}
jscpd automatically detects the format based on file extension. You can also force a specific format:
jscpd --format javascript ./src
You can also view the full list of supported formats by running:
jscpd --list