A tiny tool to convert between string and NaN[].
Converts a string and a NaN Array to each other.
npm install string-nan
import StringNaN from "string-nan";
const str = "meg";
const nans = StringNaN.toNaNs(str);
console.log(nans); // [ NaN, NaN, NaN ]
console.log(StringNaN.toString(nans)); // meg
console.log(StringNaN.toString(nans[0])); // m
nans.reverse();
console.log(StringNaN.toString(nans)); // gem