1.0.1 • Published 9 months ago

judging-question-toolkit v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Judging Question Toolkit

version download

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 and Input
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

1.0.1

9 months ago

1.0.0

9 months ago