Displaying 1 to 6 from 6 results

msgpack-lite - Fast Pure JavaScript MessagePack Encoder and Decoder / msgpack.org[JavaScript]

  •    Javascript

A CLI tool bin/msgpack converts data stream from JSON to MessagePack and vice versa. Browser version msgpack.min.js is also available. 50KB minified, 14KB gziped.

ndarray-pack - Packs an array-of-arrays into an ndarray

  •    Javascript

Converts an array-of-arrays (ie numeric.js array) into a packed ndarray.Converts the nested array into a packed ndarray.

ndarray-scratch - Pooled memory for ndarrays

  •    Javascript

A simple wrapper for typedarray-pool. I got tired of manually constructing ndarrays from typedarrays, and so this module saves some keystrokes/sanity.Creates a scratch ndarray initialized to 1 if all indices equal, 0 otherwise.

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.




base64-arraybuffer - Encode/decode base64 data into ArrayBuffers

  •    Javascript

Copyright (c) 2012 Niklas von Hertzen Licensed under the MIT license.

float16 - half-precision floating point for JavaScript

  •    Javascript

This library's Float16Array uses Proxy, so IE11 is never supported. Copy the build file for browsers to your project directory.