This is an example how to use dodona-edu/dolos as library.
npm install
npm run start
# {
# similarity: 0.27450980392156865,
# left: Region { startRow: 0, startCol: 0, endRow: 3, endCol: 31 },
# right: Region { startRow: 0, startCol: 0, endRow: 3, endCol: 31 }
# }
# {
# similarity: 1,
# left: Region { startRow: 0, startCol: 0, endRow: 11, endCol: 36 },
# right: Region { startRow: 0, startCol: 0, endRow: 16, endCol: 43 }
# }