JSON Body Trim
Json white space cleaner
Install
$ npm i json-body-trim --save
API
const jsonBodyTrim = ;const app = ; app; ...
Example
const jsonBodyTrim = ;const bodyParser = ; const app = ; app;app; app app; // post localhost:8080 this data: {" test ": "hello "}// response this data: {"test":"hello"}