trim-object-stream

1.1.0 • Public • Published

trim-object-stream

stream that trims all whitespace from keys and values on the top level of an object

NPM

usage

$ cat line-delimited-json.json | trim-object-stream

example

$ echo $'{" foo ":" bar ", " baz ": { " qux ": 1 }}' | trim-object-stream
{"foo":"bar","baz":{"qux":1}}

Readme

Keywords

none

Package Sidebar

Install

npm i trim-object-stream

Weekly Downloads

0

Version

1.1.0

License

BSD

Last publish

Collaborators

  • maxogden