{"_id":"@bongione/express-json-utils","_rev":"4-d79d382099fa03c1c1cbfaf58584492a","name":"@bongione/express-json-utils","description":"Use standard result field in data and error objects returned from an ","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@bongione/express-json-utils","version":"0.1.0","description":"Use standard result field in data and error objects returned from an ","main":"lib/index.js","scripts":{"test":"mocha --compilers js:babel-register --recursive"},"repository":{"type":"git","url":"git+https://github.com/mindiply/express-json-utils.git"},"keywords":["express","json","util"],"author":{"name":"Paolo Ferdinando Bongiovanni","email":"paolo.bongiovanni@mindiply.com"},"license":"\tApache-2.0","bugs":{"url":"https://github.com/mindiply/express-json-utils/issues"},"homepage":"https://github.com/mindiply/express-json-utils#readme","devDependencies":{"babel-register":"^6.16.3","chai":"^3.5.0","mocha":"^3.1.2"},"gitHead":"293581ddd8cedffcc7457fdff8b6317c32049556","_id":"@bongione/express-json-utils@0.1.0","_shasum":"b827de56c3c1215cfdb0fdc358a223b0712916c2","_from":".","_npmVersion":"3.10.6","_nodeVersion":"6.2.2","_npmUser":{"name":"bongione","email":"paolo.bongiovanni@mindiply.com"},"dist":{"shasum":"b827de56c3c1215cfdb0fdc358a223b0712916c2","tarball":"https://registry.npmjs.org/@bongione/express-json-utils/-/express-json-utils-0.1.0.tgz","integrity":"sha512-yMp/Ni2Fdnu7qrSnT2pvCnyOakdIGh7AQwsFlA/Gt4fYNU99ElV9e76SWwYsFhZztkkESfKLil1pHozyc0tivA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCh4reVUhxIATUvdNhHFPDbSG6UZY7crPwD04hZgiG67gIhAIEhQh0ZgnlyVroGuPg/hJbXXBGuF06Z/8oQipxYCYYO"}]},"maintainers":[{"name":"bongione","email":"paolo.bongiovanni@mindiply.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/express-json-utils-0.1.0.tgz_1476264859306_0.5915345456451178"}},"0.1.2":{"name":"@bongione/express-json-utils","version":"0.1.2","description":"Use standard result field in data and error objects returned from an ","main":"lib/index.js","scripts":{"test":"mocha --compilers js:babel-register --recursive"},"repository":{"type":"git","url":"git+https://github.com/mindiply/express-json-utils.git"},"keywords":["express","json","util"],"author":{"name":"Paolo Ferdinando Bongiovanni","email":"paolo.bongiovanni@mindiply.com"},"license":"\tApache-2.0","bugs":{"url":"https://github.com/mindiply/express-json-utils/issues"},"homepage":"https://github.com/mindiply/express-json-utils#readme","devDependencies":{"babel-register":"^6.16.3","chai":"^3.5.0","mocha":"^3.1.2"},"gitHead":"c1bf1eabb6f9111e4c32d7739cfaa504053a1687","_id":"@bongione/express-json-utils@0.1.2","_shasum":"5ae9466c7f6b0c533ed74ad6cb5c55581549c41f","_from":".","_npmVersion":"3.10.6","_nodeVersion":"6.2.2","_npmUser":{"name":"bongione","email":"paolo.bongiovanni@mindiply.com"},"dist":{"shasum":"5ae9466c7f6b0c533ed74ad6cb5c55581549c41f","tarball":"https://registry.npmjs.org/@bongione/express-json-utils/-/express-json-utils-0.1.2.tgz","integrity":"sha512-0WBYu1i7V/76caPTlg0ZDkEVUdRWhGTiavx4rzv9G5YUvZPGgT/miFhJUiPpfY0xt85SF7vonnko+W3fyj0i3A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWSBR26ZHQc9bb8g0+jkJFbr5m2rPX8H0stPljjSQ6uwIgYi3wK1FHba6rkXMhCn1qSXmT7LiLsKTrkM+7X/JxLSs="}]},"maintainers":[{"name":"bongione","email":"paolo.bongiovanni@mindiply.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/express-json-utils-0.1.2.tgz_1476266263193_0.32080279337242246"}}},"readme":"# express-json-utils\nUse standard result field in data and error objects returned from an \nexpress application\n\nThe API consists of 2 functions:\n\n* **sendJSONResult(res, data)** which sends an object of the format: { \n  result : 'ok', data_field_1 : data_field_1_value, ...} back via res.send\n \n* **sendJSONError(res, err, msg)** which sends and object of the format: \n  { result : 'error', msg : msg, err : err } via res.send\n  \n\n# License\n\nApache 2.0","maintainers":[{"name":"bongione","email":"paolo.bongiovanni@mindiply.com"}],"time":{"modified":"2022-06-12T15:25:35.007Z","created":"2016-10-12T09:34:21.068Z","0.1.0":"2016-10-12T09:34:21.068Z","0.1.2":"2016-10-12T09:57:44.699Z"},"homepage":"https://github.com/mindiply/express-json-utils#readme","keywords":["express","json","util"],"repository":{"type":"git","url":"git+https://github.com/mindiply/express-json-utils.git"},"author":{"name":"Paolo Ferdinando Bongiovanni","email":"paolo.bongiovanni@mindiply.com"},"bugs":{"url":"https://github.com/mindiply/express-json-utils/issues"},"license":"\tApache-2.0","readmeFilename":"README.md"}