js2txt

‘js2txt’ works just like ‘JSON.stringify’, but it also supports functions. Works in both Node.js and the browser. Lightweight. No dependencies.

1.6.14 • Published 6 years ago