@vandeurenglenn/typed-array-split
v1.0.0
Published
split(TypedArray)
Downloads
2
Readme
typed-array-split
split(TypedArray, sep)
install
npm i @vandeurenglenn/typed-array-split
usage
import typedArraySplit from '@vandeurenglenn/typed-array-split'
const splitsed = typedArraySplit(joined, '/')
console.log(new TextDecoder().decode(splitsed[0])) // hello
console.log(new TextDecoder().decode(splitsed[1])) // world