{"_id":"node-res","_rev":"1515363","name":"node-res","description":"Nodejs http response builder","dist-tags":{"latest":"5.0.1","next":"6.0.2"},"maintainers":[{"name":"amanvirk","email":"virk.officials@gmail.com"},{"name":"virk","email":"virk@adonisjs.com"}],"time":{"modified":"2021-11-10T06:20:38.000Z","created":"2015-06-05T09:27:43.128Z","6.0.2":"2019-01-19T08:11:14.932Z","6.0.1":"2019-01-19T06:47:41.677Z","5.0.1":"2018-08-22T07:52:46.052Z","5.0.0":"2018-08-22T07:42:35.185Z","4.1.4":"2018-01-19T09:49:14.737Z","4.1.3":"2018-01-19T09:02:25.141Z","4.1.2":"2018-01-18T08:50:21.405Z","4.1.1":"2018-01-17T17:50:38.462Z","4.1.0":"2018-01-16T12:41:21.301Z","4.0.4":"2017-10-29T17:46:03.889Z","4.0.3":"2017-10-26T17:15:08.302Z","4.0.2":"2017-10-02T16:57:47.240Z","4.0.1":"2017-10-02T08:02:28.265Z","4.0.0":"2017-06-16T05:18:29.109Z","3.0.1":"2016-11-08T08:25:07.983Z","3.0.0":"2016-06-25T22:30:38.943Z","2.0.2":"2016-01-19T13:24:10.287Z","2.0.0":"2015-12-29T16:12:23.316Z","1.0.5":"2015-09-23T05:37:05.341Z","1.0.4":"2015-09-05T11:37:19.863Z","1.0.3":"2015-06-15T09:00:56.169Z","1.0.2":"2015-06-14T05:12:41.452Z","1.0.1":"2015-06-05T09:29:35.494Z","1.0.0":"2015-06-05T09:27:43.128Z"},"users":{},"author":{"name":"amanvirk"},"repository":{"type":"git","url":"git+https://github.com/poppinss/node-res.git"},"versions":{"6.0.2":{"name":"node-res","version":"6.0.2","description":"Nodejs http response builder","main":"build/index.js","scripts":{"mrm":"mrm --preset=@adonisjs/mrm-preset","pretest":"npm run lint","test":"nyc node japaFile.js","prepublishOnly":"npm run build","lint":"tslint --project tsconfig.json","clean":"del build","compile":"npm run lint && npm run clean && tsc","docs":"typedoc","build":"npm run compile && npm run docs","coverage":"nyc report --reporter=text-lcov | coveralls","commit":"git-cz"},"author":{"name":"amanvirk"},"license":"MIT","devDependencies":{"@adonisjs/mrm-preset":"^1.0.16","@types/node":"^10.12.18","commitizen":"^3.0.5","coveralls":"^3.0.2","cz-conventional-changelog":"^2.1.0","del-cli":"^1.1.0","doctoc":"^1.4.0","fs-extra":"^7.0.1","japa":"^2.0.7","mrm":"^1.2.1","nyc":"^13.1.0","pkg-ok":"^2.3.1","supertest":"^3.4.1","ts-node":"^7.0.1","tslint":"^5.12.1","tslint-eslint-rules":"^5.4.0","typedoc":"^0.13.0","typedoc-plugin-external-module-name":"^2.0.0","typedoc-plugin-single-line-tags":"^1.0.0","typescript":"^3.2.4","yorkie":"^2.0.0"},"dependencies":{"content-disposition":"^0.5.3","destroy":"^1.0.4","etag":"^1.8.1","fresh":"^0.5.2","macroable":"^2.0.0","mime-types":"^2.1.21","on-finished":"^2.3.0","vary":"^1.1.2"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/relayIN/node-res.git"},"keywords":["node-res","http","response","http-res","response","builder","res","builder"],"bugs":{"url":"https://github.com/relayIN/node-res/issues"},"homepage":"https://github.com/relayIN/node-res#readme","config":{"commitizen":{"path":"cz-conventional-changelog"}},"nyc":{"exclude":["test"],"extension":[".ts"]},"gitHooks":{"commit-msg":"node ./node_modules/@adonisjs/mrm-preset/validateCommit/conventional/validate.js","pre-commit":"doctoc README.md --title='## Table of contents' && git add README.md"},"readmeFilename":"README.md","gitHead":"a95bab8a6973a07aad56cb4c8da29e7210ca6553","_id":"node-res@6.0.2","_npmVersion":"6.5.0","_nodeVersion":"10.10.0","_npmUser":{"name":"virk","email":"virk@adonisjs.com"},"dist":{"shasum":"a0a19e3698a40dbecaca13e9ef646d298b857b02","size":8458,"noattachment":false,"key":"/node-res/-/node-res-6.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-res/download/node-res-6.0.2.tgz"},"maintainers":[{"name":"amanvirk","email":"virk.officials@gmail.com"},{"name":"virk","email":"virk@adonisjs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-res_6.0.2_1547885474726_0.631660372644038"},"_hasShrinkwrap":false,"publish_time":1547885474932,"_cnpm_publish_time":1547885474932},"6.0.1":{"name":"node-res","version":"6.0.1","description":"Nodejs http response builder","main":"build/index.js","scripts":{"mrm":"mrm --preset=@adonisjs/mrm-preset","pretest":"npm run lint","test":"nyc node japaFile.js","prepublishOnly":"npm run build","lint":"tslint --project tsconfig.json","clean":"del build","compile":"npm run lint && npm run clean && tsc","docs":"typedoc","build":"npm run compile && npm run docs","coverage":"nyc report --reporter=text-lcov | coveralls","commit":"git-cz"},"author":{"name":"amanvirk"},"license":"MIT","devDependencies":{"@adonisjs/mrm-preset":"^1.0.16","@types/node":"^10.12.18","commitizen":"^3.0.5","coveralls":"^3.0.2","cz-conventional-changelog":"^2.1.0","del-cli":"^1.1.0","doctoc":"^1.4.0","fs-extra":"^7.0.1","japa":"^2.0.7","mrm":"^1.2.1","nyc":"^13.1.0","pkg-ok":"^2.3.1","supertest":"^3.4.1","ts-node":"^7.0.1","tslint":"^5.12.1","tslint-eslint-rules":"^5.4.0","typedoc":"^0.13.0","typedoc-plugin-external-module-name":"^2.0.0","typedoc-plugin-single-line-tags":"^1.0.0","typescript":"^3.2.4","yorkie":"^2.0.0"},"dependencies":{"content-disposition":"^0.5.3","destroy":"^1.0.4","etag":"^1.8.1","fresh":"^0.5.2","mime-types":"^2.1.21","on-finished":"^2.3.0","vary":"^1.1.2"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/poppinss/node-res.git"},"keywords":["node-res","http","response","http-res","response","builder","res","builder"],"bugs":{"url":"https://github.com/poppinss/node-res/issues"},"homepage":"https://github.com/poppinss/node-res#readme","config":{"commitizen":{"path":"cz-conventional-changelog"}},"nyc":{"exclude":["test"],"extension":[".ts"]},"gitHooks":{"commit-msg":"node ./node_modules/@adonisjs/mrm-preset/validateCommit/conventional/validate.js","pre-commit":"doctoc README.md --title='## Table of contents' && git add README.md"},"readmeFilename":"README.md","gitHead":"0a6ba68d57c01bad9fc7706d3253b4caab040bc5","_id":"node-res@6.0.1","_npmVersion":"6.5.0","_nodeVersion":"10.10.0","_npmUser":{"name":"virk","email":"virk@adonisjs.com"},"dist":{"shasum":"3a547b9403f62773b833054a004419ecc7c72422","size":8345,"noattachment":false,"key":"/node-res/-/node-res-6.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-res/download/node-res-6.0.1.tgz"},"maintainers":[{"name":"amanvirk","email":"virk.officials@gmail.com"},{"name":"virk","email":"virk@adonisjs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-res_6.0.1_1547880461555_0.9727010538984671"},"_hasShrinkwrap":false,"publish_time":1547880461677,"_cnpm_publish_time":1547880461677},"5.0.1":{"name":"node-res","version":"5.0.1","description":"Nodejs http response builder","main":"index.js","files":["index.js","methods.js"],"scripts":{"lint":"standard","pretest":"npm run lint","posttest":"npm run coverage","test:local":"FORCE_COLOR=true node bin/index.js --local","test":"nyc npm run test:local","test:win":"set FORCE_COLOR=true && node bin/index.js --win","coverage":"nyc report --reporter=text-lcov | coveralls"},"author":{"name":"amanvirk"},"license":"MIT","devDependencies":{"co-functional":"^0.2.1","coveralls":"^3.0.2","cz-conventional-changelog":"^2.1.0","japa":"^1.0.6","japa-cli":"^1.0.1","nyc":"^12.0.2","semver":"^5.5.1","standard":"^11.0.1","supertest":"^3.1.0"},"dependencies":{"destroy":"^1.0.4","etag":"^1.8.1","mime-types":"^2.1.19","on-finished":"^2.3.0","vary":"^1.1.2"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/poppinss/node-res.git"},"keywords":["node-res","http","response","http-res","response","builder","res","builder"],"bugs":{"url":"https://github.com/poppinss/node-res/issues"},"homepage":"https://github.com/poppinss/node-res#readme","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"nyc":{"include":["index.js","methods.js"]},"gitHead":"e532e766cc3875a02cd96765e22ae2c75b17e3d7","_id":"node-res@5.0.1","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"virk","email":"virk@adonisjs.com"},"dist":{"shasum":"ffaa462e206509d66d0ba28a4daf1f032daa6460","size":7762,"noattachment":false,"key":"/node-res/-/node-res-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-res/download/node-res-5.0.1.tgz"},"maintainers":[{"name":"amanvirk","email":"virk.officials@gmail.com"},{"name":"virk","email":"virk@adonisjs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-res_5.0.1_1534924365970_0.1751848058940828"},"_hasShrinkwrap":false,"publish_time":1534924366052,"_cnpm_publish_time":1534924366052},"5.0.0":{"name":"node-res","version":"5.0.0","description":"Nodejs http response builder","main":"index.js","files":["index.js","methods.js"],"scripts":{"lint":"standard","pretest":"npm run lint","posttest":"npm run coverage","test:local":"FORCE_COLOR=true node bin/index.js --local","test":"nyc npm run test:local","test:win":"set FORCE_COLOR=true && node bin/index.js --win","coverage":"nyc report --reporter=text-lcov | coveralls"},"author":{"name":"amanvirk"},"license":"MIT","devDependencies":{"co-functional":"^0.2.1","coveralls":"^3.0.2","cz-conventional-changelog":"^2.1.0","japa":"^1.0.6","japa-cli":"^1.0.1","nyc":"^12.0.2","semver":"^5.5.1","standard":"^11.0.1","supertest":"^3.1.0"},"dependencies":{"destroy":"^1.0.4","etag":"^1.8.1","mime-types":"^2.1.19","on-finished":"^2.3.0","vary":"^1.1.2"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/poppinss/node-res.git"},"keywords":["node-res","http","response","http-res","response","builder","res","builder"],"bugs":{"url":"https://github.com/poppinss/node-res/issues"},"homepage":"https://github.com/poppinss/node-res#readme","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"nyc":{"include":["index.js","methods.js"]},"gitHead":"e187098e29e22068211bece8b5f6409fad0fdb7d","_id":"node-res@5.0.0","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"virk","email":"virk@adonisjs.com"},"dist":{"shasum":"83955059b540045768f0e875758235dae85e8622","size":7824,"noattachment":false,"key":"/node-res/-/node-res-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-res/download/node-res-5.0.0.tgz"},"maintainers":[{"name":"amanvirk","email":"virk.officials@gmail.com"},{"name":"virk","email":"virk@adonisjs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-res_5.0.0_1534923755030_0.830074240731925"},"_hasShrinkwrap":false,"publish_time":1534923755185,"_cnpm_publish_time":1534923755185},"4.1.4":{"name":"node-res","version":"4.1.4","description":"Nodejs http response builder","main":"index.js","files":["index.js","methods.js"],"scripts":{"lint":"standard","pretest":"npm run lint","posttest":"npm run coverage","test:local":"FORCE_COLOR=true node bin/index.js --local","test":"nyc npm run test:local","test:win":"set FORCE_COLOR=true && node bin/index.js --win","coverage":"nyc report --reporter=text-lcov | coveralls"},"author":{"name":"amanvirk"},"license":"MIT","devDependencies":{"co-functional":"^0.2.1","coveralls":"^3.0.0","cz-conventional-changelog":"^2.1.0","japa":"^1.0.6","japa-cli":"^1.0.1","nyc":"^11.4.1","semver":"^5.5.0","standard":"^10.0.3","supertest":"^3.0.0"},"dependencies":{"content-disposition":"^0.5.2","etag":"^1.8.1","mime-types":"^2.1.17","send":"^0.16.1","vary":"^1.1.2"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/poppinss/node-res.git"},"keywords":["node-res","http","response","http-res","response","builder","res","builder"],"bugs":{"url":"https://github.com/poppinss/node-res/issues"},"homepage":"https://github.com/poppinss/node-res#readme","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"nyc":{"include":["index.js","methods.js"]},"gitHead":"8d80668d17c8612a90c31be53b3bd52da6449c92","_id":"node-res@4.1.4","_npmVersion":"5.5.1","_nodeVersion":"9.3.0","_npmUser":{"name":"virk","email":"virk@adonisjs.com"},"dist":{"shasum":"80f18cb6cb1c0c730d52d8f29594b31fd03b12b0","size":7434,"noattachment":false,"key":"/node-res/-/node-res-4.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-res/download/node-res-4.1.4.tgz"},"maintainers":[{"name":"amanvirk","email":"virk.officials@gmail.com"},{"name":"virk","email":"virk@adonisjs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-res-4.1.4.tgz_1516355354374_0.2989343067165464"},"publish_time":1516355354737,"_hasShrinkwrap":false,"_cnpm_publish_time":1516355354737},"4.1.3":{"name":"node-res","version":"4.1.3","description":"Nodejs http response builder","main":"index.js","files":["index.js","methods.js"],"scripts":{"lint":"standard","pretest":"npm run lint","posttest":"npm run coverage","test:local":"FORCE_COLOR=true node bin/index.js --local","test":"nyc npm run test:local","test:win":"set FORCE_COLOR=true && node bin/index.js --win","coverage":"nyc report --reporter=text-lcov | coveralls"},"author":{"name":"amanvirk"},"license":"MIT","devDependencies":{"co-functional":"^0.2.1","coveralls":"^3.0.0","cz-conventional-changelog":"^2.1.0","japa":"^1.0.6","japa-cli":"^1.0.1","nyc":"^11.4.1","semver":"^5.5.0","standard":"^10.0.3","supertest":"^3.0.0"},"dependencies":{"content-disposition":"^0.5.2","etag":"^1.8.1","mime-types":"^2.1.17","send":"^0.16.1","vary":"^1.1.2"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/poppinss/node-res.git"},"keywords":["node-res","http","response","http-res","response","builder","res","builder"],"bugs":{"url":"https://github.com/poppinss/node-res/issues"},"homepage":"https://github.com/poppinss/node-res#readme","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"nyc":{"include":["index.js","methods.js"]},"gitHead":"618349822ef365efd3fbfff2e7782e2126a5d7d8","_id":"node-res@4.1.3","_npmVersion":"5.5.1","_nodeVersion":"9.3.0","_npmUser":{"name":"virk","email":"virk@adonisjs.com"},"dist":{"shasum":"19410c204bb0461037537a36e714f002d2015ae2","size":7376,"noattachment":false,"key":"/node-res/-/node-res-4.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-res/download/node-res-4.1.3.tgz"},"maintainers":[{"name":"amanvirk","email":"virk.officials@gmail.com"},{"name":"virk","email":"virk@adonisjs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-res-4.1.3.tgz_1516352544150_0.846690206322819"},"publish_time":1516352545141,"_hasShrinkwrap":false,"_cnpm_publish_time":1516352545141},"4.1.2":{"name":"node-res","version":"4.1.2","description":"Nodejs http response builder","main":"index.js","files":["index.js","methods.js"],"scripts":{"lint":"standard","pretest":"npm run lint","posttest":"npm run coverage","test:local":"FORCE_COLOR=true node bin/index.js --local","test":"nyc npm run test:local","test:win":"set FORCE_COLOR=true && node bin/index.js --win","coverage":"nyc report --reporter=text-lcov | coveralls"},"author":{"name":"amanvirk"},"license":"MIT","devDependencies":{"co-functional":"^0.2.1","coveralls":"^3.0.0","cz-conventional-changelog":"^2.1.0","japa":"^1.0.6","japa-cli":"^1.0.1","nyc":"^11.4.1","semver":"^5.5.0","standard":"^10.0.3","supertest":"^3.0.0"},"dependencies":{"content-disposition":"^0.5.2","etag":"^1.8.1","mime-types":"^2.1.17","send":"^0.16.1","vary":"^1.1.2"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/poppinss/node-res.git"},"keywords":["node-res","http","response","http-res","response","builder","res","builder"],"bugs":{"url":"https://github.com/poppinss/node-res/issues"},"homepage":"https://github.com/poppinss/node-res#readme","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"nyc":{"include":["index.js","methods.js"]},"gitHead":"2b14709ae91a9f8e2e477206b34eefb61cb13728","_id":"node-res@4.1.2","_npmVersion":"5.5.1","_nodeVersion":"9.3.0","_npmUser":{"name":"virk","email":"virk@adonisjs.com"},"dist":{"shasum":"ecf4f2f023ce74cd9bba182abd31945bb64d0a16","size":7539,"noattachment":false,"key":"/node-res/-/node-res-4.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-res/download/node-res-4.1.2.tgz"},"maintainers":[{"name":"amanvirk","email":"virk.officials@gmail.com"},{"name":"virk","email":"virk@adonisjs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-res-4.1.2.tgz_1516265420255_0.1801386137958616"},"publish_time":1516265421405,"_cnpm_publish_time":1516265421405,"_hasShrinkwrap":false},"4.1.1":{"name":"node-res","version":"4.1.1","description":"Nodejs http response builder","main":"index.js","scripts":{"lint":"standard","pretest":"npm run lint","posttest":"npm run coverage","test:local":"FORCE_COLOR=true node bin/index.js --local","test":"nyc npm run test:local","test:win":"set FORCE_COLOR=true && node bin/index.js --win","coverage":"nyc report --reporter=text-lcov | coveralls"},"author":{"name":"amanvirk"},"license":"MIT","devDependencies":{"co-functional":"^0.2.1","coveralls":"^3.0.0","cz-conventional-changelog":"^2.1.0","japa":"^1.0.6","japa-cli":"^1.0.1","nyc":"^11.4.1","semver":"^5.5.0","standard":"^10.0.3","supertest":"^3.0.0"},"dependencies":{"content-disposition":"^0.5.2","etag":"^1.8.1","mime-types":"^2.1.17","send":"^0.16.1","vary":"^1.1.2"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/poppinss/node-res.git"},"keywords":["node-res","http","response","http-res","response","builder","res","builder"],"bugs":{"url":"https://github.com/poppinss/node-res/issues"},"homepage":"https://github.com/poppinss/node-res#readme","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"nyc":{"include":["src"]},"gitHead":"cd3b1ad70ddd58b92eebabcbfee8ba6ca8df4f3d","_id":"node-res@4.1.1","_npmVersion":"5.5.1","_nodeVersion":"9.3.0","_npmUser":{"name":"virk","email":"virk@adonisjs.com"},"dist":{"shasum":"d0136278400e696787995c9a3831fcb3508cdc2f","size":8148,"noattachment":false,"key":"/node-res/-/node-res-4.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-res/download/node-res-4.1.1.tgz"},"maintainers":[{"name":"amanvirk","email":"virk.officials@gmail.com"},{"name":"virk","email":"virk@adonisjs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-res-4.1.1.tgz_1516211437498_0.8424319627229124"},"publish_time":1516211438462,"_hasShrinkwrap":false,"_cnpm_publish_time":1516211438462},"4.1.0":{"name":"node-res","version":"4.1.0","description":"Nodejs http response builder","main":"index.js","scripts":{"lint":"standard","pretest":"npm run lint","posttest":"npm run coverage","test:local":"FORCE_COLOR=true node bin/index.js --local","test":"nyc npm run test:local","test:win":"set FORCE_COLOR=true && node bin/index.js --win","coverage":"nyc report --reporter=text-lcov | coveralls"},"author":{"name":"amanvirk"},"license":"MIT","devDependencies":{"co-functional":"^0.2.1","coveralls":"^3.0.0","cz-conventional-changelog":"^2.1.0","japa":"^1.0.6","japa-cli":"^1.0.1","nyc":"^11.4.1","semver":"^5.4.1","standard":"^10.0.3","supertest":"^3.0.0"},"dependencies":{"content-disposition":"^0.5.2","etag":"^1.8.1","mime-types":"^2.1.17","send":"^0.16.1","vary":"^1.1.2"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/poppinss/node-res.git"},"keywords":["node-res","http","response","http-res","response","builder","res","builder"],"bugs":{"url":"https://github.com/poppinss/node-res/issues"},"homepage":"https://github.com/poppinss/node-res#readme","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"nyc":{"include":["src"]},"gitHead":"193a5962a8849131dc1a203e5d06d89c50fd3bc8","_id":"node-res@4.1.0","_npmVersion":"5.5.1","_nodeVersion":"9.3.0","_npmUser":{"name":"virk","email":"virk@adonisjs.com"},"dist":{"shasum":"76a2ea555c46db596a89e0cd5a1e56a4f48ef20f","size":7544,"noattachment":false,"key":"/node-res/-/node-res-4.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-res/download/node-res-4.1.0.tgz"},"maintainers":[{"name":"amanvirk","email":"virk.officials@gmail.com"},{"name":"virk","email":"virk@adonisjs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-res-4.1.0.tgz_1516106480289_0.6364613827317953"},"publish_time":1516106481301,"_hasShrinkwrap":false,"_cnpm_publish_time":1516106481301},"4.0.4":{"name":"node-res","version":"4.0.4","description":"Nodejs http response builder","main":"index.js","scripts":{"lint":"standard","pretest":"npm run lint","posttest":"npm run coverage","test:local":"FORCE_COLOR=true node bin/index.js --local","test":"nyc npm run test:local","test:win":"set FORCE_COLOR=true && node bin/index.js --win","coverage":"nyc report --reporter=text-lcov | coveralls"},"author":{"name":"amanvirk"},"license":"MIT","devDependencies":{"co-functional":"^0.2.1","coveralls":"^2.13.3","cz-conventional-changelog":"^2.0.0","japa":"^1.0.5","japa-cli":"^1.0.1","nyc":"^11.2.1","semver":"^5.4.1","standard":"^10.0.3","supertest":"^3.0.0"},"dependencies":{"content-disposition":"^0.5.2","content-type":"^1.0.4","etag":"^1.8.1","mime-types":"^2.1.17","send":"^0.16.1","vary":"^1.1.2"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/poppinss/node-res.git"},"keywords":["node-res","http","response","http-res","response","builder","res","builder"],"bugs":{"url":"https://github.com/poppinss/node-res/issues"},"homepage":"https://github.com/poppinss/node-res#readme","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"nyc":{"include":["src"]},"gitHead":"fbbd2576abf6336daf68464fee4e599297e9b387","_id":"node-res@4.0.4","_npmVersion":"5.3.0","_nodeVersion":"8.0.0","_npmUser":{"name":"virk","email":"virk@adonisjs.com"},"dist":{"shasum":"fadaa5d0d7184b3a8907cddd1a427eb5cf1af097","size":7660,"noattachment":false,"key":"/node-res/-/node-res-4.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-res/download/node-res-4.0.4.tgz"},"maintainers":[{"name":"amanvirk","email":"virk.officials@gmail.com"},{"name":"virk","email":"virk@adonisjs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-res-4.0.4.tgz_1509299162969_0.7206052299588919"},"publish_time":1509299163889,"_hasShrinkwrap":false,"_cnpm_publish_time":1509299163889},"4.0.3":{"name":"node-res","version":"4.0.3","description":"Nodejs http response builder","main":"index.js","scripts":{"lint":"standard","pretest":"npm run lint","posttest":"npm run coverage","test:local":"FORCE_COLOR=true node bin/index.js --local","test":"nyc npm run test:local","test:win":"set FORCE_COLOR=true && node bin/index.js --win","coverage":"nyc report --reporter=text-lcov | coveralls"},"author":{"name":"amanvirk"},"license":"MIT","devDependencies":{"co-functional":"^0.2.1","coveralls":"^2.13.1","cz-conventional-changelog":"^2.0.0","japa":"^1.0.3","japa-cli":"^1.0.1","nyc":"^11.0.2","semver":"^5.3.0","standard":"^10.0.2","supertest":"^3.0.0"},"dependencies":{"content-disposition":"^0.5.2","content-type":"^1.0.2","etag":"^1.8.0","mime-types":"^2.1.15","send":"^0.15.3","vary":"^1.1.1"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/poppinss/node-res.git"},"keywords":["node-res","http","response","http-res","response","builder","res","builder"],"bugs":{"url":"https://github.com/poppinss/node-res/issues"},"homepage":"https://github.com/poppinss/node-res#readme","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"nyc":{"include":["src"]},"gitHead":"878e2a10bb2136bf2cd8f82def39bdd6dbba41e9","_id":"node-res@4.0.3","_npmVersion":"5.3.0","_nodeVersion":"8.0.0","_npmUser":{"name":"virk","email":"virk@adonisjs.com"},"dist":{"shasum":"5ebffbe55e0200693987b0b85a5401200ed39d9e","size":7549,"noattachment":false,"key":"/node-res/-/node-res-4.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-res/download/node-res-4.0.3.tgz"},"maintainers":[{"name":"amanvirk","email":"virk.officials@gmail.com"},{"name":"virk","email":"virk@adonisjs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-res-4.0.3.tgz_1509038107214_0.9909957826603204"},"publish_time":1509038108302,"_hasShrinkwrap":false,"_cnpm_publish_time":1509038108302},"4.0.2":{"name":"node-res","version":"4.0.2","description":"Nodejs http response builder","main":"index.js","scripts":{"lint":"standard","pretest":"npm run lint","posttest":"npm run coverage","test:local":"FORCE_COLOR=true node bin/index.js --local","test":"nyc npm run test:local","test:win":"set FORCE_COLOR=true && node bin/index.js --win","coverage":"nyc report --reporter=text-lcov | coveralls"},"author":{"name":"amanvirk"},"license":"MIT","devDependencies":{"co-functional":"^0.2.1","coveralls":"^2.13.1","cz-conventional-changelog":"^2.0.0","japa":"^1.0.3","japa-cli":"^1.0.1","nyc":"^11.0.2","semver":"^5.3.0","standard":"^10.0.2","supertest":"^3.0.0"},"dependencies":{"content-disposition":"^0.5.2","content-type":"^1.0.2","etag":"^1.8.0","mime-types":"^2.1.15","send":"^0.15.3","vary":"^1.1.1"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/poppinss/node-res.git"},"keywords":["node-res","http","response","http-res","response","builder","res","builder"],"bugs":{"url":"https://github.com/poppinss/node-res/issues"},"homepage":"https://github.com/poppinss/node-res#readme","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"nyc":{"include":["src"]},"gitHead":"54dd8f7946e3b1b5c6b20c105e851aede459c604","_id":"node-res@4.0.2","_npmVersion":"5.3.0","_nodeVersion":"8.0.0","_npmUser":{"name":"virk","email":"virk@adonisjs.com"},"dist":{"shasum":"7e289317be3087870d43562e698e539c92700574","size":7455,"noattachment":false,"key":"/node-res/-/node-res-4.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-res/download/node-res-4.0.2.tgz"},"maintainers":[{"name":"amanvirk","email":"virk.officials@gmail.com"},{"name":"virk","email":"virk@adonisjs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-res-4.0.2.tgz_1506963466185_0.5650583831593394"},"publish_time":1506963467240,"_hasShrinkwrap":false,"_cnpm_publish_time":1506963467240},"4.0.1":{"name":"node-res","version":"4.0.1","description":"Nodejs http response builder","main":"index.js","scripts":{"lint":"standard","pretest":"npm run lint","posttest":"npm run coverage","test:local":"FORCE_COLOR=true node bin/index.js --local","test":"nyc npm run test:local","test:win":"set FORCE_COLOR=true && node bin/index.js --win","coverage":"nyc report --reporter=text-lcov | coveralls"},"author":{"name":"amanvirk"},"license":"MIT","devDependencies":{"co-functional":"^0.2.1","coveralls":"^2.13.1","cz-conventional-changelog":"^2.0.0","japa":"^1.0.3","japa-cli":"^1.0.1","nyc":"^11.0.2","semver":"^5.3.0","standard":"^10.0.2","supertest":"^3.0.0"},"dependencies":{"content-disposition":"^0.5.2","content-type":"^1.0.2","etag":"^1.8.0","mime-types":"^2.1.15","send":"^0.15.3","vary":"^1.1.1"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/poppinss/node-res.git"},"keywords":["node-res","http","response","http-res","response","builder","res","builder"],"bugs":{"url":"https://github.com/poppinss/node-res/issues"},"homepage":"https://github.com/poppinss/node-res#readme","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"nyc":{"include":["src"]},"gitHead":"b7381d896674669083e550907969d0b8397faf8f","_id":"node-res@4.0.1","_npmVersion":"5.3.0","_nodeVersion":"8.0.0","_npmUser":{"name":"virk","email":"virk@adonisjs.com"},"dist":{"shasum":"802e79092bb31cce760886adb24baae88ff28485","size":7355,"noattachment":false,"key":"/node-res/-/node-res-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-res/download/node-res-4.0.1.tgz"},"maintainers":[{"name":"amanvirk","email":"virk.officials@gmail.com"},{"name":"virk","email":"virk@adonisjs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-res-4.0.1.tgz_1506931347258_0.7788169838022441"},"publish_time":1506931348265,"_hasShrinkwrap":false,"_cnpm_publish_time":1506931348265},"4.0.0":{"name":"node-res","version":"4.0.0","description":"Nodejs http response builder","main":"index.js","scripts":{"lint":"standard","pretest":"npm run lint","posttest":"npm run coverage","test:local":"FORCE_COLOR=true node bin/index.js --local","test":"nyc npm run test:local","test:win":"set FORCE_COLOR=true && node bin/index.js --win","coverage":"nyc report --reporter=text-lcov | coveralls"},"author":{"name":"amanvirk"},"license":"MIT","devDependencies":{"co-functional":"^0.2.1","coveralls":"^2.13.1","cz-conventional-changelog":"^2.0.0","japa":"^1.0.3","japa-cli":"^1.0.1","nyc":"^11.0.2","semver":"^5.3.0","standard":"^10.0.2","supertest":"^3.0.0"},"dependencies":{"content-disposition":"^0.5.2","content-type":"^1.0.2","etag":"^1.8.0","mime-types":"^2.1.15","send":"^0.15.3","vary":"^1.1.1"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/poppinss/node-res.git"},"keywords":["node-res","http","response","http-res","response","builder","res","builder"],"bugs":{"url":"https://github.com/poppinss/node-res/issues"},"homepage":"https://github.com/poppinss/node-res#readme","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"nyc":{"include":["src"]},"gitHead":"ad7d3445cef71b42d8a575f583c8e5b923ba5b83","_id":"node-res@4.0.0","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"virk","email":"virk@adonisjs.com"},"dist":{"shasum":"da9a4b17f6b9c5768b235673cd840ca6a1152065","size":7131,"noattachment":false,"key":"/node-res/-/node-res-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-res/download/node-res-4.0.0.tgz"},"maintainers":[{"name":"amanvirk","email":"virk.officials@gmail.com"},{"name":"virk","email":"virk@adonisjs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-res-4.0.0.tgz_1497590309010_0.26078948308713734"},"publish_time":1497590309109,"_hasShrinkwrap":false,"_cnpm_publish_time":1497590309109},"3.0.1":{"name":"node-res","version":"3.0.1","description":"Nodejs http response builder","main":"index.js","scripts":{"test":"npm run lint && istanbul cover _mocha --report lcovonly -- -R spec test && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage","coverage":"npm run lint && istanbul cover _mocha test --bail","lint":"standard src/**/*.js test/*.js"},"author":{"name":"amanvirk"},"license":"MIT","devDependencies":{"chai":"^3.3.0","co-functional":"^0.2.1","co-mocha":"^1.1.2","co-supertest":"0.0.10","coveralls":"^2.11.4","cz-conventional-changelog":"^1.1.5","istanbul":"^0.3.22","mocha":"^2.3.3","mocha-lcov-reporter":"^1.0.0","standard":"^5.4.1","supertest":"^1.1.0"},"dependencies":{"content-disposition":"^0.5.0","content-type":"^1.0.2","etag":"^1.7.0","mime-types":"^2.1.12","send":"^0.14.1","vary":"^1.1.0"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/poppinss/node-res.git"},"keywords":["node-res","http","response","http-res","response","builder","res","builder"],"bugs":{"url":"https://github.com/poppinss/node-res/issues"},"homepage":"https://github.com/poppinss/node-res#readme","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"d68a9ce061f09aa1fda1c7b6afc5438af5e6477a","_id":"node-res@3.0.1","_shasum":"460daa8338b5e6f069a207b91b4ee348820ba36e","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"adonisjs","email":"virk@adonisjs.com"},"dist":{"shasum":"460daa8338b5e6f069a207b91b4ee348820ba36e","size":5985,"noattachment":false,"key":"/node-res/-/node-res-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-res/download/node-res-3.0.1.tgz"},"maintainers":[{"name":"amanvirk","email":"virk.officials@gmail.com"},{"name":"virk","email":"virk@adonisjs.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/node-res-3.0.1.tgz_1478593507758_0.34210804267786443"},"publish_time":1478593507983,"_cnpm_publish_time":1478593507983,"_hasShrinkwrap":false},"3.0.0":{"name":"node-res","version":"3.0.0","description":"Nodejs http response builder","main":"index.js","scripts":{"test":"npm run standard && istanbul cover _mocha --report lcovonly -- -R spec test && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage","coverage":"npm run standard && istanbul cover _mocha test --bail","standard":"standard src/**/*.js test/*.js"},"author":{"name":"amanvirk"},"license":"MIT","devDependencies":{"chai":"^3.3.0","co-functional":"^0.2.1","co-mocha":"^1.1.2","co-supertest":"0.0.10","coveralls":"^2.11.4","cz-conventional-changelog":"^1.1.5","istanbul":"^0.3.22","mocha":"^2.3.3","mocha-lcov-reporter":"^1.0.0","standard":"^5.4.1","supertest":"^1.1.0"},"dependencies":{"content-disposition":"^0.5.0","etag":"^1.7.0","mime":"^1.3.4","send":"^0.14.1","vary":"^1.1.0"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/poppinss/node-res.git"},"keywords":["node-res","http","response","http-res","response","builder","res","builder"],"bugs":{"url":"https://github.com/poppinss/node-res/issues"},"homepage":"https://github.com/poppinss/node-res#readme","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"95dc0986d2bd7d79a0dfd12aa39bcf176cdf9560","_id":"node-res@3.0.0","_shasum":"f4fcf0ae0319e4a4a1af627e3bddec849c7af0f5","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.4.0","_npmUser":{"name":"amanvirk","email":"virk.officials@gmail.com"},"dist":{"shasum":"f4fcf0ae0319e4a4a1af627e3bddec849c7af0f5","size":5807,"noattachment":false,"key":"/node-res/-/node-res-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-res/download/node-res-3.0.0.tgz"},"maintainers":[{"name":"amanvirk","email":"virk.officials@gmail.com"},{"name":"virk","email":"virk@adonisjs.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/node-res-3.0.0.tgz_1466893836486_0.7590121012181044"},"publish_time":1466893838943,"_cnpm_publish_time":1466893838943,"_hasShrinkwrap":false},"2.0.2":{"name":"node-res","version":"2.0.2","description":"Nodejs http response builder","main":"index.js","scripts":{"test":"npm run standard && istanbul cover _mocha --report lcovonly -- -R spec test && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage","coverage":"npm run standard && istanbul cover _mocha test --bail","standard":"standard src/**/*.js test/*.js"},"author":{"name":"amanvirk"},"license":"MIT","devDependencies":{"chai":"^3.3.0","co-mocha":"^1.1.2","co-supertest":"0.0.10","coveralls":"^2.11.4","cz-conventional-changelog":"^1.1.5","istanbul":"^0.3.22","mocha":"^2.3.3","mocha-lcov-reporter":"^1.0.0","standard":"^5.4.1","supertest":"^1.1.0"},"dependencies":{"content-disposition":"^0.5.0","etag":"^1.7.0","mime":"^1.3.4","vary":"^1.1.0"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/poppinss/node-res.git"},"keywords":["node-res","http","response","http-res","response","builder","res","builder"],"bugs":{"url":"https://github.com/poppinss/node-res/issues"},"homepage":"https://github.com/poppinss/node-res#readme","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"4b4a050c42adc3cc3bf82575c72ebdb6917afca4","_id":"node-res@2.0.2","_shasum":"767339a5f71130259a011dee7dd01a0b26b05102","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.4.0","_npmUser":{"name":"amanvirk","email":"virk.officials@gmail.com"},"dist":{"shasum":"767339a5f71130259a011dee7dd01a0b26b05102","size":6044,"noattachment":false,"key":"/node-res/-/node-res-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-res/download/node-res-2.0.2.tgz"},"maintainers":[{"name":"amanvirk","email":"virk.officials@gmail.com"},{"name":"virk","email":"virk@adonisjs.com"}],"publish_time":1453209850287,"_cnpm_publish_time":1453209850287,"_hasShrinkwrap":false},"2.0.0":{"name":"node-res","version":"2.0.0","description":"Nodejs http response builder","main":"index.js","scripts":{"test":"npm run standard && istanbul cover _mocha --report lcovonly -- -R spec test && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage","coverage":"npm run standard && istanbul cover _mocha test --bail","standard":"standard src/**/*.js test/*.js"},"author":{"name":"amanvirk"},"license":"MIT","devDependencies":{"chai":"^3.3.0","co-mocha":"^1.1.2","co-supertest":"0.0.10","coveralls":"^2.11.4","istanbul":"^0.3.22","mocha":"^2.3.3","mocha-lcov-reporter":"^1.0.0","standard":"^5.4.1","supertest":"^1.1.0"},"dependencies":{"content-disposition":"^0.5.0","etag":"^1.7.0","mime":"^1.3.4","vary":"^1.1.0"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/poppinss/node-res.git"},"keywords":["node-res","http","response","http-res","response","builder","res","builder"],"bugs":{"url":"https://github.com/poppinss/node-res/issues"},"homepage":"https://github.com/poppinss/node-res#readme","gitHead":"5d59faa29097b72e2afa96d1368d5800df0349a4","_id":"node-res@2.0.0","_shasum":"200e9eadd882652d800fc7211b5e7c81b2d3a2a6","_from":".","_npmVersion":"3.3.5","_nodeVersion":"4.1.0","_npmUser":{"name":"amanvirk","email":"virk.officials@gmail.com"},"dist":{"shasum":"200e9eadd882652d800fc7211b5e7c81b2d3a2a6","size":4487,"noattachment":false,"key":"/node-res/-/node-res-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-res/download/node-res-2.0.0.tgz"},"maintainers":[{"name":"amanvirk","email":"virk.officials@gmail.com"},{"name":"virk","email":"virk@adonisjs.com"}],"publish_time":1451405543316,"_cnpm_publish_time":1451405543316,"_hasShrinkwrap":false},"1.0.5":{"name":"node-res","version":"1.0.5","description":"Response object to make response for http requests","main":"lib/index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test/*.js && ./nightwatch.js"},"author":{"name":"amanvirk","email":"virk.officials@gmail.com"},"license":"ISC","dependencies":{"content-disposition":"^0.5.0","jsonp-body":"^1.0.0","lodash":"^3.9.3","mime":"^1.3.4","parseurl":"^1.3.0","querystring":"^0.2.0"},"devDependencies":{"chai":"^2.3.0","mocha":"^2.2.5","nightwatch":"^0.6.13","supertest":"^1.0.1"},"gitHead":"2e78119d4304a031d8ff0638b629f437d8372b72","_id":"node-res@1.0.5","_shasum":"a06a861ba7205600a5cd7a6f8b1a8534e80cec6e","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"amanvirk","email":"virk.officials@gmail.com"},"dist":{"shasum":"a06a861ba7205600a5cd7a6f8b1a8534e80cec6e","size":4799,"noattachment":false,"key":"/node-res/-/node-res-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-res/download/node-res-1.0.5.tgz"},"maintainers":[{"name":"amanvirk","email":"virk.officials@gmail.com"},{"name":"virk","email":"virk@adonisjs.com"}],"directories":{},"publish_time":1442986625341,"_cnpm_publish_time":1442986625341,"_hasShrinkwrap":false},"1.0.4":{"name":"node-res","version":"1.0.4","description":"","main":"lib/index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test/*.js && ./nightwatch.js"},"author":{"name":"amanvirk","email":"virk.officials@gmail.com"},"license":"ISC","dependencies":{"content-disposition":"^0.5.0","jsonp-body":"^1.0.0","lodash":"^3.9.3","mime":"^1.3.4","parseurl":"^1.3.0","querystring":"^0.2.0"},"devDependencies":{"chai":"^2.3.0","mocha":"^2.2.5","nightwatch":"^0.6.13","supertest":"^1.0.1"},"gitHead":"537e6cdcdf1fa703aeef70f0b80a4aeddca8adac","_id":"node-res@1.0.4","_shasum":"d9a9116d5e9ee5737a8744975299eaf4e8800763","_from":".","_npmVersion":"2.13.3","_nodeVersion":"3.1.0","_npmUser":{"name":"amanvirk","email":"virk.officials@gmail.com"},"dist":{"shasum":"d9a9116d5e9ee5737a8744975299eaf4e8800763","size":4682,"noattachment":false,"key":"/node-res/-/node-res-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-res/download/node-res-1.0.4.tgz"},"maintainers":[{"name":"amanvirk","email":"virk.officials@gmail.com"},{"name":"virk","email":"virk@adonisjs.com"}],"directories":{},"publish_time":1441453039863,"_cnpm_publish_time":1441453039863,"_hasShrinkwrap":false},"1.0.3":{"name":"node-res","version":"1.0.3","description":"","main":"lib/index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test/*.js && ./nightwatch.js"},"author":{"name":"amanvirk","email":"virk.officials@gmail.com"},"license":"ISC","dependencies":{"content-disposition":"^0.5.0","jsonp-body":"^1.0.0","lodash":"^3.9.3","mime":"^1.3.4","parseurl":"^1.3.0","querystring":"^0.2.0"},"devDependencies":{"chai":"^2.3.0","mocha":"^2.2.5","nightwatch":"^0.6.13","supertest":"^1.0.1"},"gitHead":"69f949cdec7fd35c0d17e823dcae29bd1556a05a","_id":"node-res@1.0.3","_shasum":"987f8bf304714995c6ec4189607f90ac8d7c84b5","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"amanvirk","email":"virk.officials@gmail.com"},"dist":{"shasum":"987f8bf304714995c6ec4189607f90ac8d7c84b5","size":4688,"noattachment":false,"key":"/node-res/-/node-res-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-res/download/node-res-1.0.3.tgz"},"maintainers":[{"name":"amanvirk","email":"virk.officials@gmail.com"},{"name":"virk","email":"virk@adonisjs.com"}],"directories":{},"publish_time":1434358856169,"_cnpm_publish_time":1434358856169,"_hasShrinkwrap":false},"1.0.2":{"name":"node-res","version":"1.0.2","description":"","main":"lib/index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test/*.js && ./nightwatch.js"},"author":{"name":"amanvirk","email":"virk.officials@gmail.com"},"license":"ISC","dependencies":{"content-disposition":"^0.5.0","jsonp-body":"^1.0.0","lodash":"^3.9.3","mime":"^1.3.4","parseurl":"^1.3.0","querystring":"^0.2.0"},"devDependencies":{"chai":"^2.3.0","mocha":"^2.2.5","nightwatch":"^0.6.13","supertest":"^1.0.1"},"gitHead":"59ec3f0f995b8b5583acca19eb93383b7d1649af","_id":"node-res@1.0.2","_shasum":"30fba624099ed3d835026c2d35e72510b21c3eeb","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"amanvirk","email":"virk.officials@gmail.com"},"dist":{"shasum":"30fba624099ed3d835026c2d35e72510b21c3eeb","size":4682,"noattachment":false,"key":"/node-res/-/node-res-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-res/download/node-res-1.0.2.tgz"},"maintainers":[{"name":"amanvirk","email":"virk.officials@gmail.com"},{"name":"virk","email":"virk@adonisjs.com"}],"directories":{},"publish_time":1434258761452,"_cnpm_publish_time":1434258761452,"_hasShrinkwrap":false},"1.0.1":{"name":"node-res","version":"1.0.1","description":"","main":"lib/index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test/*.js && ./nightwatch.js"},"author":{"name":"amanvirk","email":"virk.officials@gmail.com"},"license":"ISC","dependencies":{"content-disposition":"^0.5.0","jsonp-body":"^1.0.0","lodash":"^3.9.3","mime":"^1.3.4","parseurl":"^1.3.0","querystring":"^0.2.0"},"devDependencies":{"chai":"^2.3.0","mocha":"^2.2.5","nightwatch":"^0.6.13","supertest":"^1.0.1"},"gitHead":"f877b19be176dc26d4d9759c367f2d72900fccd7","_id":"node-res@1.0.1","_shasum":"b5fe97cbfbf8860b8f299b59c87fbd3719a7a487","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"amanvirk","email":"virk.officials@gmail.com"},"dist":{"shasum":"b5fe97cbfbf8860b8f299b59c87fbd3719a7a487","size":4674,"noattachment":false,"key":"/node-res/-/node-res-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-res/download/node-res-1.0.1.tgz"},"maintainers":[{"name":"amanvirk","email":"virk.officials@gmail.com"},{"name":"virk","email":"virk@adonisjs.com"}],"directories":{},"publish_time":1433496575494,"_cnpm_publish_time":1433496575494,"_hasShrinkwrap":false},"1.0.0":{"name":"node-res","version":"1.0.0","description":"","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test/*.js && ./nightwatch.js"},"author":{"name":"amanvirk","email":"virk.officials@gmail.com"},"license":"ISC","dependencies":{"content-disposition":"^0.5.0","jsonp-body":"^1.0.0","lodash":"^3.9.3","mime":"^1.3.4","parseurl":"^1.3.0","querystring":"^0.2.0"},"devDependencies":{"chai":"^2.3.0","mocha":"^2.2.5","nightwatch":"^0.6.13","supertest":"^1.0.1"},"gitHead":"68d585f6d4a77b0200059f6efc2f238b91323df1","_id":"node-res@1.0.0","_shasum":"211741f2bdbf6c411db0fde47bf7a6e67c6c522e","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"amanvirk","email":"virk.officials@gmail.com"},"dist":{"shasum":"211741f2bdbf6c411db0fde47bf7a6e67c6c522e","size":4770,"noattachment":false,"key":"/node-res/-/node-res-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-res/download/node-res-1.0.0.tgz"},"maintainers":[{"name":"amanvirk","email":"virk.officials@gmail.com"},{"name":"virk","email":"virk@adonisjs.com"}],"directories":{},"publish_time":1433496463128,"_cnpm_publish_time":1433496463128,"_hasShrinkwrap":false}},"readme":"# Node Res\n\n> A facade over Node.js HTTP `res` object with no side-effects.\n\n[![NPM Version][npm-image]][npm-url]\n[![Build Status][travis-image]][travis-url]\n[![Appveyor][appveyor-image]][appveyor-url]\n[![Coveralls][coveralls-image]][coveralls-url]\n\n<a href=\"http://res.cloudinary.com/adonisjs/image/upload/q_100/v1502279403/poppinss_z8uk2j.png\">\n<img src=\"http://res.cloudinary.com/adonisjs/image/upload/q_100/v1502279403/poppinss_z8uk2j.png\" width=\"300px\" align=\"right\" vspace=\"20px\" />\n</a>\n\n`node-res` is a simple module to make HTTP response in Node.js. It offers helpers to make it easier to set `headers`, define response statuses and properly parse response type to set appropriate headers.\n\nFor example:\n\n```js\n// content-type: plain/text\nnodeRes.send(req, res, 'Hello world')\n\n// content-type: application/json\nnodeRes.send(req, res, { greeting: 'hello world' })\n    \n// content-type: text/html\nnodeRes.send(req, res, '<h2> Hello world </h2>')\n```\n\n## See also\n\n1. [node-req](https://npmjs.org/package/node-req)\n2. [node-cookie](https://npmjs.org/package/node-cookie)\n\n## Basic Example\n\n```javascript\nconst http = require('http')\nconst nodeRes = require('node-res')\n\nhttp.createServer(function (req, res) {\n  \n  // plain text\n  nodeRes.send(req, res, \"Hello world\")\n\n  // json\n  nodeRes.json(req, res, {time:\"now\"})\n\n  // jsonp\n  nodeRes.jsonp(req, res, {time:\"now\"}, \"callback\")\n\n}).listen(3000)\n\n```\n\n## API\n<a name=\"module_Response\"></a>\n\n## Response\nA simple IO module to make consistent HTTP response, without\nworrying about underlying details.\n\n\n* [Response](#module_Response)\n    * [~getHeader(res, key)](#module_Response..getHeader) ⇒ <code>Array</code> \\| <code>String</code>\n    * [~header(res, key, value)](#module_Response..header) ⇒ <code>void</code>\n    * [~append(res, key, value)](#module_Response..append) ⇒ <code>void</code>\n    * [~status(res, code)](#module_Response..status) ⇒ <code>void</code>\n    * [~safeHeader(res, key, value)](#module_Response..safeHeader) ⇒ <code>void</code>\n    * [~removeHeader(res, key)](#module_Response..removeHeader) ⇒ <code>void</code>\n    * [~write(res, body)](#module_Response..write) ⇒ <code>void</code>\n    * [~end(res, [payload])](#module_Response..end) ⇒ <code>void</code>\n    * [~send(req, res, body, [generateEtag])](#module_Response..send) ⇒ <code>void</code>\n    * [~etag(res, body)](#module_Response..etag) ⇒ <code>void</code>\n    * [~prepare(res, body)](#module_Response..prepare) ⇒ <code>String</code>\n    * [~prepareJsonp(res, body, callbackFn)](#module_Response..prepareJsonp) ⇒ <code>String</code>\n    * [~json(req, res, body, [generateEtag])](#module_Response..json) ⇒ <code>void</code>\n    * [~jsonp(req, res, body, [callbackFn], [generateEtag])](#module_Response..jsonp) ⇒ <code>void</code>\n    * [~location(res, url)](#module_Response..location) ⇒ <code>void</code>\n    * [~redirect(req, res, url, [status])](#module_Response..redirect) ⇒ <code>void</code>\n    * [~vary(res, field)](#module_Response..vary) ⇒ <code>void</code>\n    * [~type(req, res, [charset])](#module_Response..type) ⇒ <code>void</code>\n    * [~stream(res, body)](#module_Response..stream) ⇒ <code>Promise</code>\n\n<a name=\"module_Response..getHeader\"></a>\n\n### Response~getHeader(res, key) ⇒ <code>Array</code> \\| <code>String</code>\nReturns the value of an existing header on\nthe response object\n\n**Kind**: inner method of [<code>Response</code>](#module_Response)  \n**Returns**: <code>Array</code> \\| <code>String</code> - Return type depends upon the header existing value  \n\n| Param | Type |\n| --- | --- |\n| res | <code>ServerResponse</code> | \n| key | <code>String</code> | \n\n**Example**  \n```js\nnodeRes.getHeader(res, 'Content-type')\n```\n<a name=\"module_Response..header\"></a>\n\n### Response~header(res, key, value) ⇒ <code>void</code>\nSets header on the response object. This method will wipe off\nexisting values. To append to existing values, use `append`.\n\n**Kind**: inner method of [<code>Response</code>](#module_Response)  \n\n| Param | Type |\n| --- | --- |\n| res | <code>http.ServerResponse</code> | \n| key | <code>String</code> | \n| value | <code>String</code> \\| <code>Array</code> | \n\n**Example**  \n```js\nnodeRes.header(res, 'Content-type', 'application/json')\n\n// or set an array of headers\nnodeRes.header(res, 'Link', ['<http://localhost/>', '<http://localhost:3000/>'])\n```\n<a name=\"module_Response..append\"></a>\n\n### Response~append(res, key, value) ⇒ <code>void</code>\nAppends value to the header existing values.\n\n**Kind**: inner method of [<code>Response</code>](#module_Response)  \n\n| Param | Type |\n| --- | --- |\n| res | <code>http.ServerResponse</code> | \n| key | <code>String</code> | \n| value | <code>String</code> \\| <code>Array</code> | \n\n**Example**  \n```js\nnodeRes.append(res, 'Content-type', 'application/json')\n\n// or append an array of headers\nnodeRes.append(res, 'Link', ['<http://localhost/>', '<http://localhost:3000/>'])\n```\n<a name=\"module_Response..status\"></a>\n\n### Response~status(res, code) ⇒ <code>void</code>\nSet status on the HTTP res object\n\n**Kind**: inner method of [<code>Response</code>](#module_Response)  \n\n| Param | Type |\n| --- | --- |\n| res | <code>http.ServerResponse</code> | \n| code | <code>Number</code> | \n\n**Example**  \n```js\nnodeRes.status(res, 200)\n```\n<a name=\"module_Response..safeHeader\"></a>\n\n### Response~safeHeader(res, key, value) ⇒ <code>void</code>\nSets the header on response object, only if it\ndoes not exists.\n\n**Kind**: inner method of [<code>Response</code>](#module_Response)  \n\n| Param | Type |\n| --- | --- |\n| res | <code>http.ServerResponse</code> | \n| key | <code>String</code> | \n| value | <code>String</code> \\| <code>Array</code> | \n\n**Example**  \n```js\nnodeRes.safeHeader(res, 'Content-type', 'application/json')\n```\n<a name=\"module_Response..removeHeader\"></a>\n\n### Response~removeHeader(res, key) ⇒ <code>void</code>\nRemoves the header from response\n\n**Kind**: inner method of [<code>Response</code>](#module_Response)  \n\n| Param | Type |\n| --- | --- |\n| res | <code>http.ServerResponse</code> | \n| key | <code>String</code> | \n\n**Example**  \n```js\nnodeRes.removeHeader(res, 'Content-type')\n```\n<a name=\"module_Response..write\"></a>\n\n### Response~write(res, body) ⇒ <code>void</code>\nWrite string or buffer to the response object.\n\n**Kind**: inner method of [<code>Response</code>](#module_Response)  \n\n| Param | Type |\n| --- | --- |\n| res | <code>http.ServerResponse</code> | \n| body | <code>String</code> \\| <code>Buffer</code> | \n\n**Example**  \n```js\nnodeRes.write(res, 'Hello world')\n```\n<a name=\"module_Response..end\"></a>\n\n### Response~end(res, [payload]) ⇒ <code>void</code>\nExplictly end HTTP response\n\n**Kind**: inner method of [<code>Response</code>](#module_Response)  \n\n| Param | Type |\n| --- | --- |\n| res | <code>http.ServerResponse</code> | \n| [payload] | <code>String</code> \\| <code>Buffer</code> | \n\n**Example**  \n```js\nnodeRes.end(res, 'Hello world')\n```\n<a name=\"module_Response..send\"></a>\n\n### Response~send(req, res, body, [generateEtag]) ⇒ <code>void</code>\nSend body as the HTTP response and end it. Also\nthis method will set the appropriate `Content-type`\nand `Content-length`.\n\nIf body is set to null, this method will end the response\nas 204.\n\n**Kind**: inner method of [<code>Response</code>](#module_Response)  \n\n| Param | Type | Default |\n| --- | --- | --- |\n| req | <code>http.ServerRequest</code> |  | \n| res | <code>http.ServerResponse</code> |  | \n| body | <code>String</code> \\| <code>Buffer</code> \\| <code>Object</code> \\| <code>Stream</code> |  | \n| [generateEtag] | <code>Boolean</code> | <code>true</code> | \n\n**Example**  \n```js\nnodeRes.send(req, res, 'Hello world')\n\n// or html\nnodeRes.send(req, res, '<h2> Hello world </h2>')\n\n// or JSON\nnodeRes.send(req, res, { greeting: 'Hello world' })\n\n// or Buffer\nnodeRes.send(req, res, Buffer.from('Hello world', 'utf-8'))\n\n// Ignore etag\nnodeRes.send(req, res, 'Hello world', false)\n```\n<a name=\"module_Response..etag\"></a>\n\n### Response~etag(res, body) ⇒ <code>void</code>\nSets the Etag header for a given body chunk\n\n**Kind**: inner method of [<code>Response</code>](#module_Response)  \n\n| Param | Type |\n| --- | --- |\n| res | <code>http.ServerResponse</code> | \n| body | <code>String</code> \\| <code>Buffer</code> | \n\n**Example**  \n```js\nnodeRes.etag(res, 'Hello world')\n```\n<a name=\"module_Response..prepare\"></a>\n\n### Response~prepare(res, body) ⇒ <code>String</code>\nPrepares the response body by encoding it properly. Also\nsets appropriate headers based upon the body content type.\n\nThis method is used internally by `send`, so you should\nnever use it when calling `send`.\n\nIt is helpful when you want to get the final payload and end the\nresponse at a later stage.\n\n**Kind**: inner method of [<code>Response</code>](#module_Response)  \n\n| Param | Type |\n| --- | --- |\n| res | <code>http.ServerResponse</code> | \n| body | <code>Mixed</code> | \n\n**Example**  \n```js\nconst chunk = nodeRes.prepare(res, '<h2> Hello </h2>')\n\nif (chunk) {\n  nodeRes.etag(res, chunk)\n\n  if (nodeReq.fresh(req, res)) {\n    chunk = null\n    nodeRes.status(304)\n  }\n\n  nodeRes.end(chunk)\n}\n```\n<a name=\"module_Response..prepareJsonp\"></a>\n\n### Response~prepareJsonp(res, body, callbackFn) ⇒ <code>String</code>\nPrepares response for JSONP\n\n**Kind**: inner method of [<code>Response</code>](#module_Response)  \n\n| Param | Type |\n| --- | --- |\n| res | <code>http.ServerResponse</code> | \n| body | <code>Object</code> | \n| callbackFn | <code>String</code> | \n\n**Example**  \n```js\nconst chunk = nodeRes.prepareJsonp(res, '<h2> Hello </h2>', 'callback')\n\nif (chunk) {\n  nodeRes.etag(res, chunk)\n\n  if (nodeReq.fresh(req, res)) {\n    chunk = null\n    nodeRes.status(304)\n  }\n\n  nodeRes.end(chunk)\n}\n```\n<a name=\"module_Response..json\"></a>\n\n### Response~json(req, res, body, [generateEtag]) ⇒ <code>void</code>\nReturns the HTTP response with `Content-type`\nset to `application/json`.\n\n**Kind**: inner method of [<code>Response</code>](#module_Response)  \n\n| Param | Type | Default |\n| --- | --- | --- |\n| req | <code>http.IncomingMessage</code> |  | \n| res | <code>http.ServerResponse</code> |  | \n| body | <code>Object</code> |  | \n| [generateEtag] | <code>Boolean</code> | <code>true</code> | \n\n**Example**  \n```js\nnodeRes.json(req, res, { name: 'virk' })\nnodeRes.json(req, res, [ 'virk', 'joe' ])\n```\n<a name=\"module_Response..jsonp\"></a>\n\n### Response~jsonp(req, res, body, [callbackFn], [generateEtag]) ⇒ <code>void</code>\nMake JSONP response with `Content-type` set to\n`text/javascript`.\n\n**Kind**: inner method of [<code>Response</code>](#module_Response)  \n\n| Param | Type | Default |\n| --- | --- | --- |\n| req | <code>http.IncomingMessage</code> |  | \n| res | <code>http.ServerResponse</code> |  | \n| body | <code>Object</code> |  | \n| [callbackFn] | <code>String</code> | <code>&#x27;callback&#x27;</code> | \n| [generateEtag] | <code>Boolean</code> | <code>true</code> | \n\n**Example**  \n```js\nnodeRes.jsonp(req, res, { name: 'virk' }, 'callback')\n```\n<a name=\"module_Response..location\"></a>\n\n### Response~location(res, url) ⇒ <code>void</code>\nSet `Location` header on the HTTP response.\n\n**Kind**: inner method of [<code>Response</code>](#module_Response)  \n\n| Param | Type |\n| --- | --- |\n| res | <code>http.ServerResponse</code> | \n| url | <code>String</code> | \n\n<a name=\"module_Response..redirect\"></a>\n\n### Response~redirect(req, res, url, [status]) ⇒ <code>void</code>\nRedirect the HTTP request to the given url.\n\n**Kind**: inner method of [<code>Response</code>](#module_Response)  \n\n| Param | Type | Default |\n| --- | --- | --- |\n| req | <code>http.IncomingMessage</code> |  | \n| res | <code>http.ServerResponse</code> |  | \n| url | <code>String</code> |  | \n| [status] | <code>Number</code> | <code>302</code> | \n\n**Example**  \n```js\nnodeRes.redirect(req, res, '/')\n```\n<a name=\"module_Response..vary\"></a>\n\n### Response~vary(res, field) ⇒ <code>void</code>\nAdd vary header to the HTTP response.\n\n**Kind**: inner method of [<code>Response</code>](#module_Response)  \n\n| Param | Type |\n| --- | --- |\n| res | <code>http.ServerResponse</code> | \n| field | <code>String</code> | \n\n<a name=\"module_Response..type\"></a>\n\n### Response~type(req, res, [charset]) ⇒ <code>void</code>\nSet content type header by looking up the actual\ntype and setting charset to utf8.\n\n### Note\nWhen defining custom charset, you must set pass the complete\ncontent type, otherwise `false` will be set as the\ncontent-type header.\n\n**Kind**: inner method of [<code>Response</code>](#module_Response)  \n\n| Param | Type |\n| --- | --- |\n| req | <code>http.IncomingMessage</code> | \n| res | <code>http.ServerResponse</code> | \n| [charset] | <code>String</code> | \n\n**Example**  \n```js\nnodeRes.type(res, 'html')\n\nnodeRes.type(res, 'json')\n\nnodeRes.type(res, 'text/html', 'ascii')\n```\n<a name=\"module_Response..stream\"></a>\n\n### Response~stream(res, body) ⇒ <code>Promise</code>\nPipe stream to the response. Also this method will make sure\nto destroy the stream, if request gets cancelled.\n\nThe promise resolve when response finishes and rejects, when\nstream raises errors.\n\n**Kind**: inner method of [<code>Response</code>](#module_Response)  \n\n| Param | Type |\n| --- | --- |\n| res | <code>Object</code> | \n| body | <code>Stream</code> | \n\n**Example**  \n```js\nResponse.stream(res, fs.createReadStream('foo.txt'))\n\n// handle stream errors\nResponse\n  .stream(res, fs.createReadStream('foo.txt'))\n  .catch((error) => {\n  })\n```\n\n[appveyor-image]: https://img.shields.io/appveyor/ci/thetutlage/node-res/master.svg?style=flat-square\n[appveyor-url]: https://ci.appveyor.com/project/thetutlage/node-res\n\n[npm-image]: https://img.shields.io/npm/v/node-res.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/node-res\n\n[travis-image]: https://img.shields.io/travis/poppinss/node-res/master.svg?style=flat-square\n[travis-url]: https://travis-ci.org/poppinss/node-res\n\n[coveralls-image]: https://img.shields.io/coveralls/poppinss/node-res/develop.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/github/poppinss/node-res \n","_attachments":{},"homepage":"https://github.com/poppinss/node-res#readme","bugs":{"url":"https://github.com/poppinss/node-res/issues"},"license":"MIT"}