2.0.10 • Published 4 months ago
string-bionic-split v2.0.10
Install
This package is pure ESM.
npm i string-bionic-split
Quick Take
import { strict as assert } from "assert";
import { split } from "string-bionic-split";
const sources = [
"the",
"quick",
"brown",
"fox",
"jumps",
"over",
"a",
"lazy",
"dog",
];
const splitSources = sources.map(
(str) => `${str.slice(0, split(str))} + ${str.slice(split(str))}`,
);
assert.deepEqual(splitSources, [
"t + he",
"qui + ck",
"bro + wn",
"f + ox",
"jum + ps",
"ov + er",
"a + ",
"la + zy",
"d + og",
]);
Documentation
Please visit codsen.com for a full description of the API.
Contributing
To report bugs or request features or assistance, raise an issue on GitHub.
Licence
MIT License.
Copyright © 2010-2024 Roy Revelt and other contributors.
2.0.10
4 months ago
2.0.9
8 months ago
2.0.8
10 months ago
2.0.5
1 year ago
2.0.4
1 year ago
2.0.7
1 year ago
2.0.6
1 year ago
1.2.5
2 years ago
1.2.4
2 years ago
1.2.3
2 years ago
1.2.2
2 years ago
2.0.3
1 year ago
2.0.2
1 year ago
2.0.1
1 year ago
2.0.0
1 year ago
1.2.1
2 years ago
1.2.0
2 years ago
1.1.1
2 years ago
1.1.0
2 years ago
1.0.1
2 years ago