Package Exports
- stringify-object
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (stringify-object) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
stringify-object 
Stringify an object using a custom indentation
Node.js
Install and add to package.json using NPM: npm install --save stringify-object
var stringifyObject = require('stringify-object');
var pretty = stringifyObject({foo: 'bar'}, ' ');
console.log(pretty);
/*
{
foo: 'bar'
}
*/
Browser
Available on Bower: bower install stringify-object
or manually download it.
<script src="object-stringify.js"></script>
var pretty = stringifyObject({foo: 'bar'}, ' ');
console.log(pretty);
/*
{
foo: 'bar'
}
*/
Documentation
stringifyObject(obj, [indentation])
Accepts a plain object and stringifies it with a custom indentation (default tab).
License
BSD license and copyright Google