1.0.0-alpha1 • Published 5 years ago
@tuft/json-stringify-array v1.0.0-alpha1
Convert a JavaScript array object to a JSON string.
Install with npm
npm i -D @tuft/json-stringify-array
stringifyArray(arg: any[]): string
Usage
const { stringifyArray } = require('json-stringify-array');
const arr = [1, 'two', true, ['foo', 42], { hello: 'world' }];
stringifyArray(arr); // "[1,"two",true,["foo",42],{"hello":"world"}]";
1.0.0-alpha1
5 years ago