1.0.1 • Published 1 year ago
@vandeurenglenn/typed-array-join v1.0.1
typed-array-join
TypedArray.set() the join() way
install
npm i @vandeurenglenn/typed-array-join
usage
import typedArrayJoin from '@vandeurenglenn/typed-array-join'
const joined = typedArrayjoin([
new TextEncoder('hello'),
new TextEncoder('world')
], '/')
console.log(new TextDecoder().decode(joined)) // hello/world
1.0.1
1 year ago