See https://docs.scipy.org/doc/numpy/neps/npy-format.html for more information about the file format.
API:
import { parse, serialize } from "tfjs-npy"
parse(ab: ArrayBuffer): tf.Tensor
serialize(tensor: tf.Tensor): Promise<ArrayBuffer>
https://github.com/propelml/tfjs-npy