judging-question-toolkit
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i judging-question-toolkit

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

20.1 kB

Total Files

7

Last publish

Collaborators

  • herberthe