npm.io
1.0.0 • Published 3 years ago

@vandeurenglenn/typed-array-split

Licence
MIT
Version
1.0.0
Deps
0
Size
3 kB
Vulns
0
Weekly
0

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

Keywords