Serialize/deserialize ndarrays to and from JSON. The array data itself is stored in base64 format, with some additional metadata for shape/stride/etc.
npm install ndarray-json
Stringifies an ndarray into JSON.
Takes a stringified ndarray and returns a new copy.