3.2.0 • Published 14 days ago
@dodona/dolos-lib v3.2.0
Dolos lib
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.
Installation
npm install @dodona/dolos-lib
Node & Web environments
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.
Usage
import { Dolos } from "@dodona/dolos-lib";
const dolos = new Dolos();
const report = dolos.analyzePaths(["./file1.js", "./file2.js"]);
Development
- Install dependencies (preferably in the repository root)
npm install
- Build the project with typescript
npm run build
- Test the project with ava.js
npm run test
Documentation
Visit our web page at https://dolos.ugent.be.
3.2.0
14 days ago
3.1.1
2 months ago
3.1.0
3 months ago
3.0.0
7 months ago
2.3.0
10 months ago
2.2.4
10 months ago
2.2.1
12 months ago
2.2.0
12 months ago
2.2.3
11 months ago
2.2.2
12 months ago
2.1.0
1 year ago
2.0.2
1 year ago
2.0.1
1 year ago
2.0.0
2 years ago
1.7.0
2 years ago
1.6.0
2 years ago
1.5.1
2 years ago
1.5.0
2 years ago
1.4.0
2 years ago