json-size
v1.0.0
Published
Find the size (bytes) of a serialized object
Readme
json-size 
Find the size (bytes) of a serialized object
Install
$ npm install --save json-sizeUsage
var jsonSize = require('json-size')
jsonSize({foo: 'bar'})
//=> 13API
jsonSize(value) -> number
Returns the number of bytes of the resulting JSON.
value
Required
Type: any
A value to stringify.
License
MIT © Ben Drucker
