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}}

/trim-object-stream/

    Package Sidebar

    Install

    npm i trim-object-stream

    Weekly Downloads

    1

    Version

    1.1.0

    License

    BSD

    Last publish

    Collaborators

    • maxogden