From 99c1d9af689e5325f3cf535c4007b3aeb8325229 Mon Sep 17 00:00:00 2001 From: Minteck Date: Tue, 10 Jan 2023 14:54:04 +0100 Subject: Update - This is an automated commit --- school/node_modules/ranges-merge/README.md | 76 ++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 school/node_modules/ranges-merge/README.md (limited to 'school/node_modules/ranges-merge/README.md') diff --git a/school/node_modules/ranges-merge/README.md b/school/node_modules/ranges-merge/README.md new file mode 100644 index 0000000..d1f9e21 --- /dev/null +++ b/school/node_modules/ranges-merge/README.md @@ -0,0 +1,76 @@ +# ranges-merge + +> Merge and sort string index ranges + +
+ + page on npm + + + page on codsen.com + + + page on github + + + Downloads per month + + + Code style: prettier + + MIT License + + libera manifesto + +
+ +## Install + +```bash +npm i ranges-merge +``` + +## Quick Take + +```js +import { strict as assert } from "assert"; +import { rMerge } from "ranges-merge"; + +// joining edges: +assert.deepEqual( + rMerge([ + [1, 2], + [2, 3], + [9, 10], + ]), + [ + [1, 3], + [9, 10], + ] +); + +// an overlap: +assert.deepEqual( + rMerge([ + [1, 5], + [2, 10], + ]), + [[1, 10]] +); +``` + +## Documentation + +Please [visit codsen.com](https://codsen.com/os/ranges-merge/) for a full description of the API and examples. + +## Contributing + +To report bugs or request features or assistance, [raise an issue](https://github.com/codsen/codsen/issues/new/choose) on GitHub. + +## Licence + +MIT License + +Copyright (c) 2010-2021 Roy Revelt and other contributors + +ok codsen star -- cgit