judging-question-toolkit
v1.0.1
Published
Toolkit for Judging Question
Downloads
2
Readme
Judging Question Toolkit
Toolkit for Judging Question
Getting Started
npm install judging-question-toolkit
# yarn
yarn add judging-question-toolkit
# pnpm
pnpm install judging-question-toolkit
Usage
- Diff the same part of strings between
Answer
andInput
import { DiffAnsSame } from "judging-question-toolkit"
const res = DiffAnsSame("abcdfg", "cdefh")
console.log(res)
/**
* Output:
* [ [ 2, 3, 4 ], [ 0, 1, 3 ] ]
*/
For more, see the source code
Thanks
The git commit messages are generated by developer-helper-cli (DHC)
LICENSE
Open source under MIT