
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@dodona/dolos-lib
Advanced tools
This is the software library behind Dolos. It exposes a JavaScript API to integrate plagiarism detection in your applications.
Visit dolos.ugent.be for more information.
npm install @dodona/dolos-lib
Required: Node.js, Python 3 and a compiler (GCC)
Dolos uses tree-sitter to parse source code files. Tree-sitter currently only runs in node and will thus not run in browser environments.
If you only require the matching algorithms, you can use the platform-independent library Dolos Core.
import { Dolos } from "@dodona/dolos-lib";
const dolos = new Dolos();
const report = dolos.analyzePaths(["./file1.js", "./file2.js"]);
npm install
npm run build
npm run test
Visit our web page at https://dolos.ugent.be.
FAQs
Code similarity detection based on the Winnowing algorithm
We found that @dodona/dolos-lib demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.