Serialize/deserialize ndarrays to and from JSON
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE.md
README.md
index.js
package.json
test.js

README.md

ndarray-json experimental

Serialize/deserialize ndarrays to and from JSON. The array data itself is stored in base64 format, with some additional metadata for shape/stride/etc.

Installation

npm install ndarray-json

Usage

require('ndarray-json').stringify(ndarray)

Stringifies an ndarray into JSON.

require('ndarray-json').parse(ndarray)

Takes a stringified ndarray and returns a new copy.