Displaying 1 to 4 from 4 results

is-buffer - Determine if an object is a Buffer

  •    Javascript

This module lets you check if an object is a Buffer without using Buffer.isBuffer (which includes the whole buffer module in browserify).MIT. Copyright (C) Feross Aboukhadijeh.

typedarray-to-buffer - Convert a typed array to a Buffer without a copy.

  •    Javascript

Say you're using the 'buffer' module on npm, or browserify and you're working with lots of binary data.But, alas, every time you do Buffer.from(uint8array) the entire array gets copied. The Buffer constructor does a copy; this is defined by the node docs and the 'buffer' module matches the node API exactly.

vector2d - 2D Vector Library

  •    TypeScript

Detailed documentation is available here. This will produce vec2d.js and vec2d.min.js files in dist/ the folder of the repository that you can include via <script> tags.