{"_id":"pino-http-send","_rev":"6-3bcf661d05b9ae00554b5d273b6fea42","name":"pino-http-send","dist-tags":{"latest":"0.4.2"},"versions":{"0.1.0":{"name":"pino-http-send","version":"0.1.0","description":"A basic handler for [pino](https://github.com/pinojs/pino) logs that sends batches to a desired endpoint via HTTP or HTTPS.","main":"dist/index.js","types":"dist/index.d.ts","dependencies":{"chalk":"^3.0.0","got":"^10.0.4","pump":"^3.0.0","split2":"^3.1.1","through2":"^3.0.1","typescript":"^3.7.3","yargs":"^15.0.2"},"devDependencies":{"@types/jest":"^24.0.23","@types/lodash.debounce":"^4.0.6","@types/pino":"^5.14.0","@types/pump":"^1.1.0","@types/split2":"^2.1.6","@types/through2":"^2.0.34","@types/yargs":"^13.0.3","@typescript-eslint/eslint-plugin":"^2.12.0","@typescript-eslint/parser":"^2.12.0","eslint":"^6.7.2","eslint-config-prettier":"^6.7.0","husky":"^3.1.0","jest":"^24.9.0","lint-staged":"^9.5.0","pino":"^5.15.0","prettier":"^1.19.1","rimraf":"^3.0.0","ts-jest":"^24.2.0"},"scripts":{"build":"rimraf dist && tsc","dev":"npm run build && tsc --watch","lint":"eslint --ext ts ./src","test":"jest"},"bin":{"pino-http-send":"dist/index.js"},"repository":{"type":"git","url":"git+https://github.com/technicallyjosh/pino-http-send.git"},"keywords":["pino","logging","transport","http"],"author":{"name":"Josh Newman","url":"https://technicallyjosh.com"},"license":"ISC","bugs":{"url":"https://github.com/technicallyjosh/pino-http-send/issues"},"homepage":"https://github.com/technicallyjosh/pino-http-send#readme","husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.ts":["eslint --fix","git add"]},"gitHead":"b4a570c7e663a98d4f6afece832c820f787639ff","_id":"pino-http-send@0.1.0","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-n+M8tvJOy2eFzmqOEnbFkwM3Ub6vg75kji4ky8sWewBE8Tn5BfxgrPByug9Qn0adLcgDMpU28wSk+bdHkBdhdA==","shasum":"967455962efddb5fe9262c65e30c777da9bd82c8","tarball":"https://registry.npmjs.org/pino-http-send/-/pino-http-send-0.1.0.tgz","fileCount":14,"unpackedSize":15095,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+Xp0CRA9TVsSAnZWagAA3VoP/REOHjqR0k9+60OeYR0P\najjuSq4T+VH4rCBn6IghPDjubK8uCUl4+rgW/sbntNLuG/Z1NvNyxsgZKCMc\nc52sX4hyf2QECHQ02xgKMK5jtg2GvHejCKp7ptZ9rh5VeZKRsPnfcQ2NC3TS\nBVpM4TYLwlNvHFHJLQT3PyYJ2vgLp8a5IBompZbz1mCIqGp1qQohoW+VBDww\n5bwfQ+Y8rJ3XRU5Jjukpba+BTiFdNCAzTFV3sGICGvlAjLKeZwBHxGo0vF33\ny/sg4odh7+5N2WqhCSbmnQPqLvnvzGxq/26NaBzNU+kxss5gMI4m4cewCUkF\nPYPkhmoB+Ft0hT3zcwHF+7ckngMOWKLemNQEP+1IiivjOr1EjuvGs95tPKG3\nbqes+bgkq8n4utyQ7ZR6ldQCwftC4nfxqNgrxprMV9WhVCNBl4kow9FLxWvo\nEIwKGU8RXW/AZ6CfpH+vLto5x5el0Un3IyvwKS84NXZAjgPLBa392X90atBh\nauRsIA3qkWqptznaEVz78kLhundRPE+1S+/k+Z5FOmZYsweBegRSe8uRWTlx\nhrmw+1bYU0sgphHzk3WaMDNqQY5wtppxNOwajg03rYKa0UGe3Nenvw8w03Ou\nTizbINagY/gG2z5ZrcjKTGyL1ft9YOOk4uRr1wz3ERaL+qXNYuZ8OUq3mVNZ\nM/CY\r\n=w9X+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC82AJUIAWfxyLD9Brm4FLQMgfsc9qe+fD10d9xNZkfwgIhAP0MyZDBNkpbyfpG16kFIjLHbmjKZDpdK6UP8XEpzThZ"}]},"maintainers":[{"name":"technicallyjosh","email":"technicallyjosh@gmail.com"}],"_npmUser":{"name":"technicallyjosh","email":"technicallyjosh@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pino-http-send_0.1.0_1576630900126_0.752000459950003"},"_hasShrinkwrap":false},"0.1.1":{"name":"pino-http-send","version":"0.1.1","description":"A basic handler for [pino](https://github.com/pinojs/pino) logs that sends batches to a desired endpoint via HTTP or HTTPS.","main":"dist/index.js","types":"dist/index.d.ts","dependencies":{"chalk":"^3.0.0","got":"^10.0.4","pump":"^3.0.0","split2":"^3.1.1","through2":"^3.0.1","typescript":"^3.7.3","yargs":"^15.0.2"},"devDependencies":{"@types/jest":"^24.0.23","@types/lodash.debounce":"^4.0.6","@types/pino":"^5.14.0","@types/pump":"^1.1.0","@types/split2":"^2.1.6","@types/through2":"^2.0.34","@types/yargs":"^13.0.3","@typescript-eslint/eslint-plugin":"^2.12.0","@typescript-eslint/parser":"^2.12.0","eslint":"^6.7.2","eslint-config-prettier":"^6.7.0","husky":"^3.1.0","jest":"^24.9.0","lint-staged":"^9.5.0","pino":"^5.15.0","prettier":"^1.19.1","rimraf":"^3.0.0","ts-jest":"^24.2.0"},"scripts":{"build":"rimraf dist && tsc","dev":"npm run build && tsc --watch","lint":"eslint --ext ts ./src","test":"jest"},"bin":{"pino-http-send":"dist/index.js"},"repository":{"type":"git","url":"git+https://github.com/technicallyjosh/pino-http-send.git"},"keywords":["pino","logging","transport","http"],"author":{"name":"Josh Newman","url":"https://technicallyjosh.com"},"license":"ISC","bugs":{"url":"https://github.com/technicallyjosh/pino-http-send/issues"},"homepage":"https://github.com/technicallyjosh/pino-http-send#readme","husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.ts":["eslint --fix","git add"]},"gitHead":"87f363bc930f4ceec9fba8315317226808ca8dc0","_id":"pino-http-send@0.1.1","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-c0JGi3m6p2TiIEtAO3zo2JhzV9R8ib1oYf27CCM+b0H+bOCBbfM5cuclchNH/03/2//lIvG6asE8L+s1MyWEvA==","shasum":"3625c7dc7aad1619babc08e46df14d1b08ac8f38","tarball":"https://registry.npmjs.org/pino-http-send/-/pino-http-send-0.1.1.tgz","fileCount":14,"unpackedSize":15952,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+ocECRA9TVsSAnZWagAAasAP/3rbB/IbHKy1gIUv8NX6\nWJviN+STbK0+dow1xFD1WqOD5bR8DW5m8OnaT4QaUz+qN7ICecbOxz9CRjre\ns17D5mPsnmnpnNG61r3NBsR41bflYF1fUBKPMXDpFkGu6OKKBtnJzCH1GT36\nK7swrP/7w736alDnPS729sPB6d4ly/SwBOOZfUDDMTXLelH2ajAU+zjN96ok\nsErm8cNshBCJ18AFX4eVZT7p+i8cSb7A4V6SdQvE47AYU2RGSnGjKgbTLru5\nrA94SN8alc8DrkcqlU274qSE2Yuzr2kqCVvWpZVeD77aoLoZMYbgzyzCs0ed\nQkKZe/ti7yB5PqiUSAWvV0dOZ4ABaQRUF+In5qJ+77R1VJUBmmqUC76Wdeq6\nYMuGenAfwO41jj4pz9ZlouS1U7DCzo5LaemZOqnRHR+okfri983s+u8AiyKj\no8kGIMy/u6Zs1NvWEYEpuCfV0tVIeSq9/QPjIFSz30ARuRk96SlBRsPEX7PP\niGWk7QiVb8UmthRJB1fTdhzEAriJ4O3A05VGDYvLXC+RZDJWrYPGINkHCpev\nCzwJRd0MkC4fHAlw74ZM63z1pLM73C5Yy5Q+9Ho58MXZdkxJ7VZWIloLcRVZ\nm5tJqDvrk5AzwFktys7RPErtWM+xvwGaizS/FyYtpsww3GL3RUKPoVaqRpc3\n/CNM\r\n=h/Mn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGRumiP9z2xpQjVlz2RSJtxRcft2sPj6mLaVj3S9s2ZEAiB/UslzIbeBFDpLw89Szf46CNqExvCmwsNULS4LvxlLtA=="}]},"maintainers":[{"name":"technicallyjosh","email":"technicallyjosh@gmail.com"}],"_npmUser":{"name":"technicallyjosh","email":"technicallyjosh@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pino-http-send_0.1.1_1576699652390_0.5006193337288529"},"_hasShrinkwrap":false},"0.2.0":{"name":"pino-http-send","version":"0.2.0","description":"A basic handler for [pino](https://github.com/pinojs/pino) logs that sends batches to a desired endpoint via HTTP or HTTPS.","main":"dist/index.js","types":"dist/index.d.ts","dependencies":{"chalk":"^4.0.0","got":"^10.7.0","pump":"^3.0.0","split2":"^3.1.1","through2":"^3.0.1","typescript":"^3.8.3","yargs":"^15.3.1"},"devDependencies":{"@types/jest":"^25.2.1","@types/lodash.debounce":"^4.0.6","@types/pino":"^5.17.0","@types/pump":"^1.1.0","@types/split2":"^2.1.6","@types/through2":"^2.0.34","@types/yargs":"^15.0.4","@typescript-eslint/eslint-plugin":"^2.27.0","@typescript-eslint/parser":"^2.27.0","eslint":"^6.8.0","eslint-config-prettier":"^6.10.1","husky":"^4.2.3","jest":"^25.3.0","lint-staged":"^10.1.2","nock":"^12.0.3","prettier":"^2.0.4","rimraf":"^3.0.2","ts-jest":"^25.3.1"},"scripts":{"build":"rimraf dist && tsc","dev":"npm run build && tsc --watch","lint":"eslint --ext ts ./src","test":"jest"},"bin":{"pino-http-send":"dist/index.js"},"repository":{"type":"git","url":"git+https://github.com/technicallyjosh/pino-http-send.git"},"keywords":["pino","logging","transport","http"],"author":{"name":"Josh Newman","url":"https://technicallyjosh.com"},"license":"ISC","bugs":{"url":"https://github.com/technicallyjosh/pino-http-send/issues"},"homepage":"https://github.com/technicallyjosh/pino-http-send#readme","husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,ts,json}":["prettier --write"],"*.{js,ts}":["eslint --fix"]},"gitHead":"248e5aad2b70364711ebf0060a753f68320b8ad7","_id":"pino-http-send@0.2.0","_nodeVersion":"12.16.2","_npmVersion":"6.14.4","dist":{"integrity":"sha512-FogHUoCLSBWmjnLD+YtFxHWfITdoY2Suz+mwCtquF0NblyUtKmBmGJ7QbAkFtUti2qt5pQu7mmuE7rgEUjBHpA==","shasum":"04a621b0431cb2267750e2070127e855e08eddaf","tarball":"https://registry.npmjs.org/pino-http-send/-/pino-http-send-0.2.0.tgz","fileCount":14,"unpackedSize":17133,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejjmsCRA9TVsSAnZWagAAU3gP/0LVHpZb6EkOvFxdJxYn\ndhnNJl+vTPRfafbDjf1BZN+ZxWvC4mU4H+BcfasJrypryn5ziBD7ifTGSIUv\ndKh6MPv+YDjw0l8nOCQMHbET4t1sRHiQ28hzqfUEMFovHJlj18N98ketW3pQ\n4o9WHDC3JAuSUZ/Ez39SlH+S80aN4l332UEnW+ty6WU/5EqDMgtcIeKRwBeE\nXv8u+VWvlf3ybIJJHJ7RuqFhPIyu1/s7e8uj/eAZkRmF92n58xM0d6v15qWB\nr8EX4uiPMpzE2DxJfVFv+uP9+iVGOSchEIrl2FUbIRbzHsOrPVevlvxYKECs\nsTaBtn6OXzCXqkRHOjllQNM1KMFVQNdyeb8xbx4m8k3kKPpn506KREHZG9YB\nj7Kl4oHuXy7DKiPG0ZLxXXTxGmFSI1MARkXbyiMfaWplOhS1u2LcRsN5cVYL\nVCp94syrU/2QADeh4MDdxJSpP0VfGrFuqYQ5BzjeEX6ehtX3XYrhpQBeC7rS\nqE0wkecCoE6vW3jseflEV6HJoKBowlkRjlHGNr5Fkpv9goOhxlgVazToGpW7\nDpvxDWv6xTAMalYWtpp+gV+Ni6f/sXY0Al2Tf7AVhRYhq82aFLyENbI9VsLq\npV/kjqCAlCxp0kk6H20taDpizMvMSqVNYJdRU5RAy+i3nvpbocg74NmiZY+/\nbwhv\r\n=5hew\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDojsr5S8Guk6N70QBUyM8be3SarieyEFkeoF1oalV6mAIgcPiUFN9D154lHGLGG0zPvhwUWfdrcqBbm+Ay8rNeiKE="}]},"maintainers":[{"name":"technicallyjosh","email":"technicallyjosh@gmail.com"}],"_npmUser":{"name":"technicallyjosh","email":"technicallyjosh@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pino-http-send_0.2.0_1586379179743_0.8296336674432347"},"_hasShrinkwrap":false},"0.3.0":{"name":"pino-http-send","version":"0.3.0","description":"A basic handler for [pino](https://github.com/pinojs/pino) logs that sends batches to a desired endpoint via HTTP or HTTPS.","main":"dist/index.js","types":"dist/index.d.ts","dependencies":{"chalk":"^4.1.0","got":"^11.5.1","pump":"^3.0.0","split2":"^3.1.1","through2":"^4.0.2","typescript":"^3.9.7","yargs":"^15.4.1"},"devDependencies":{"@types/jest":"^26.0.5","@types/lodash.debounce":"^4.0.6","@types/pino":"^6.3.0","@types/pump":"^1.1.0","@types/split2":"^2.1.6","@types/through2":"^2.0.36","@types/yargs":"^15.0.5","@typescript-eslint/eslint-plugin":"^3.7.0","@typescript-eslint/parser":"^3.7.0","eslint":"^7.5.0","eslint-config-prettier":"^6.11.0","husky":"^4.2.5","jest":"^26.1.0","lint-staged":"^10.2.11","nock":"^13.0.2","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.3"},"scripts":{"build":"rimraf dist && tsc","dev":"npm run build && tsc --watch","lint":"eslint --ext ts ./src","test":"jest"},"bin":{"pino-http-send":"dist/index.js"},"repository":{"type":"git","url":"git+https://github.com/technicallyjosh/pino-http-send.git"},"keywords":["pino","logging","transport","http"],"author":{"name":"Josh Newman","url":"https://technicallyjosh.com"},"license":"ISC","bugs":{"url":"https://github.com/technicallyjosh/pino-http-send/issues"},"homepage":"https://github.com/technicallyjosh/pino-http-send#readme","husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,ts,json}":["prettier --write"],"*.{js,ts}":["eslint --fix"]},"gitHead":"c3a956c3d947b58bca86b522cf75bef70fb92701","_id":"pino-http-send@0.3.0","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-5eRAjbnKAp9/j6fL5d6bXK1cJdkVQfOzIawdArq+5EOfrpmwK6Lq+oGIAZEWIwNDo/0S5/Kk0CeJ39K/hb06tw==","shasum":"5509694508ade186bbf92a799e4411efb1a828d9","tarball":"https://registry.npmjs.org/pino-http-send/-/pino-http-send-0.3.0.tgz","fileCount":14,"unpackedSize":17244,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFe/vCRA9TVsSAnZWagAAeLUQAIYcwFipOFg/zgKk7xX2\nenaAYN+/R6uRenWOaruW+eINHGQTeJmVuxSWy1Nbd5fCrun/NYroyX3qBb4O\noA/zAfgU9IykxPwrcCPE+NP1ZRExZ8lbsECqnRF/NrN9sLsBg4poiaDbySMS\nemA5dyGlqaV+CtHxlDizPCgFQWBVHBVHOwagdodK/j3meBbEfcmqM+OFATVj\nYPL/C7vOjSdTN1TG5uxFwCTjCh9XR9levGwlM3AbC/+sH/i1qqNBT+8jprNN\nQu2W+q3cZpHX48FqP3yU9VzZFmtzyI/h5VEZoYZ8j4gwPsZjKOHzaTii1SZA\nnjfY5aj3v9+VGz/LUOVjabKnPY2IXfjEnmH/QCyejHk+0P240eRx8DURZ7Dn\nX+VWTu42mpRphi3Qf3ICuEGNlEl5rfJEV0XllAllDMl+CWBynmvTaR+MAbGX\nojg1ouESL8omuzut8GeWhAcI9ePVIQj5VKFBsU3H3WKzmkBszMunOFWr6fBP\nL8JUk2ucW4th3mSLAgjoABhqlwbxHqSRo43akxeRdhAj5odsbTVgvJxvfTQI\npD2NLwmBnX+qoK/KOEPr+QHPStO/T84Zg3OvBIvtiOxM4E//DuKr0XvoY8Ez\n8icK06gJhZ+XWrm4awcP3l3xDMZpFje69E4eazbbm7qo6JII9CInKdy3tLtJ\np4b4\r\n=+/U8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE1EsW5ozAd8UvlpdtWnJW1W812sAst8zNXEo4W4pRppAiEAqruajVa+EXxV2d1FXRLApmozP6JG8oOqVBAQyUwA5f4="}]},"maintainers":[{"name":"technicallyjosh","email":"technicallyjosh@gmail.com"}],"_npmUser":{"name":"technicallyjosh","email":"technicallyjosh@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pino-http-send_0.3.0_1595273198726_0.6729628397454328"},"_hasShrinkwrap":false},"0.4.0":{"name":"pino-http-send","version":"0.4.0","description":"A basic handler for [pino](https://github.com/pinojs/pino) logs that sends batches to a desired endpoint via HTTP or HTTPS.","keywords":["pino","logging","transport","http"],"homepage":"https://github.com/technicallyjosh/pino-http-send#readme","bugs":{"url":"https://github.com/technicallyjosh/pino-http-send/issues"},"repository":{"type":"git","url":"git+https://github.com/technicallyjosh/pino-http-send.git"},"license":"ISC","author":{"name":"Josh Newman","url":"https://technicallyjosh.com"},"main":"dist/index.js","types":"dist/index.d.ts","bin":{"pino-http-send":"dist/index.js"},"scripts":{"build":"rimraf dist && tsc","dev":"npm run build && tsc --watch","lint":"eslint --ext ts ./src","test":"jest"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,ts,json,css,md}":"prettier --write","*.{ts,js}":"eslint --cache --fix","package.json":"npx sort-package-json"},"dependencies":{"chalk":"^4.1.0","got":"^11.5.2","pump":"^3.0.0","pumpify":"^2.0.1","split2":"^3.2.2","through2":"^4.0.2","typescript":"^4.0.2","yargs":"^15.4.1"},"devDependencies":{"@types/jest":"^26.0.10","@types/lodash.debounce":"^4.0.6","@types/pino":"^6.3.0","@types/pump":"^1.1.0","@types/pumpify":"^1.4.1","@types/split2":"^2.1.6","@types/through2":"^2.0.36","@types/yargs":"^15.0.5","@typescript-eslint/eslint-plugin":"^3.10.1","@typescript-eslint/parser":"^3.10.1","eslint":"^7.7.0","eslint-config-prettier":"^6.11.0","husky":"^4.2.5","jest":"^26.4.2","lint-staged":"^10.2.13","nock":"^13.0.4","prettier":"^2.1.1","rimraf":"^3.0.2","ts-jest":"^26.3.0"},"gitHead":"5e646b5b9f728a3d823ba55b08e7845f08b58a1c","_id":"pino-http-send@0.4.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-Qzs32QsVxqRXVVebX6ELi6pMca/MT0ML2rXqlVneQhMEG/8iH4Z4y3n3Hhq/oQMUfKvkZ6RC4Y3isb9kOT17HQ==","shasum":"94d502ffb55fcf12f8ad921bb91258f3e8f47e53","tarball":"https://registry.npmjs.org/pino-http-send/-/pino-http-send-0.4.0.tgz","fileCount":20,"unpackedSize":24542,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTcplCRA9TVsSAnZWagAAgJMP/jaLGcOGwfB6foZYmJWQ\nq+jmoyXSEg/LVOMIC7RkHYbyYZ6c9Z9pxQf4uYj76u6pjPR03MQdCUPv2AMa\nwap3n35lt9x1CYEnwg5EQ11dvEcr5eDT5+UsTHw6zmNKR3RyPYPqtRvqfRUk\n2gFap74AnRc7pFtQPMP+1MWlmsN+bSIogwqo7avLLrWm/WcPUgPELLmhOBuD\noST5OxqbfK3cDkgEp5pRfWDepWgiag84WO80UU9C36zGjE6ycajAsHIuX8oB\nIq0Oc3ihrRJmFNDQM/t82e//qXAqJamKeeMbmGcRZcIoC1i2vHg3DThB6287\nXF713U4gmnBXCvAMVBhhMdRwM8F2ak6nkjQfSaZxEiifawMGgaZ2+iIY2OfD\naiLdKbMejjKsFRoA1v49rkiYfkM0LYrl37xjPtL7IcFtq2GQsERXDGyMYpK3\nYi8ZQt827MMXLkN1z1hHNdzfIwlyIu73Oa7gzvWwob5gEaxeFwGr3KLdKaX+\nYCyd5gjMwxyNLD4hoUvqE3aP7P7N+GDWTXrdtBOiox98d9LDmPy9TABKGDWk\n7MLL1TOn+tqYHykMXAh4DX7LsXIN1FHdx9uZSMtRhmDals3vMZ2D4+58Sbhc\nESYUhcZpEXeqa6qpN/TAJ1FR6nDJaQa1BHIDbPqdrRVNTk+AniRiYGz8uc9y\n+94l\r\n=Gs0f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC8eziX6JtwlK/CJiTqiW184s99qp3zKteqrFzXJbheJAiEAxurirYhoEXKNuIteYooVKcav1EjdTsuGUdGY5u3E6fk="}]},"maintainers":[{"name":"technicallyjosh","email":"technicallyjosh@gmail.com"}],"_npmUser":{"name":"technicallyjosh","email":"technicallyjosh@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pino-http-send_0.4.0_1598933604459_0.5483128737036733"},"_hasShrinkwrap":false},"0.4.2":{"name":"pino-http-send","version":"0.4.2","description":"A basic handler for [pino](https://github.com/pinojs/pino) logs that sends batches to a desired endpoint via HTTP or HTTPS.","keywords":["pino","logging","transport","http"],"homepage":"https://github.com/technicallyjosh/pino-http-send#readme","bugs":{"url":"https://github.com/technicallyjosh/pino-http-send/issues"},"repository":{"type":"git","url":"git+https://github.com/technicallyjosh/pino-http-send.git"},"license":"ISC","author":{"name":"Josh Newman","url":"https://technicallyjosh.com"},"main":"dist/index.js","types":"dist/index.d.ts","bin":{"pino-http-send":"dist/bin.js"},"scripts":{"build":"rimraf dist && tsc","dev":"npm run build && tsc --watch","lint":"eslint --ext ts ./src","test":"jest"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,ts,json,css,md}":"prettier --write","*.{ts,js}":"eslint --cache --fix","package.json":"npx sort-package-json"},"dependencies":{"chalk":"^4.1.0","got":"^11.5.2","pump":"^3.0.0","pumpify":"^2.0.1","split2":"^3.2.2","through2":"^4.0.2","typescript":"^4.0.2","yargs":"^15.4.1"},"devDependencies":{"@types/jest":"^26.0.10","@types/lodash.debounce":"^4.0.6","@types/pino":"^6.3.0","@types/pump":"^1.1.0","@types/pumpify":"^1.4.1","@types/split2":"^2.1.6","@types/through2":"^2.0.36","@types/yargs":"^15.0.5","@typescript-eslint/eslint-plugin":"^3.10.1","@typescript-eslint/parser":"^3.10.1","eslint":"^7.7.0","eslint-config-prettier":"^6.11.0","husky":"^4.2.5","jest":"^26.4.2","lint-staged":"^10.2.13","nock":"^13.0.4","prettier":"^2.1.1","rimraf":"^3.0.2","ts-jest":"^26.3.0"},"gitHead":"561b48ac75c084248a9caf35651ca53401f51534","_id":"pino-http-send@0.4.2","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-g60bQOPDYVnrpifubVNrGYti/Aj1Nv7ADfNbizp/vR+xOi6TfXxn9Ncg5ziN/SmZJ3KdE5o1XAS+DyW5d4RDWg==","shasum":"266f5f9c0ed65249c348e7a7cc73c789fc9de081","tarball":"https://registry.npmjs.org/pino-http-send/-/pino-http-send-0.4.2.tgz","fileCount":20,"unpackedSize":24025,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTnRdCRA9TVsSAnZWagAAM+kQAIHtSD+JH8fcTCgwBqcf\n5ULWWMfsLXbe6wC+x9cGXPHyV4VQQ1UDeah3pU8/QbmptjkAgz9jH94rlMLg\nxosTWpcV2UQ+0SW1DSGLu2/cN9ILgPALdQd9v6FFz3OCb1aQmxWOQFUj1bhU\nQ1lvF0XRvQLTIyb2iVMJvyw5lW6t9HVylPMn6AtitUhA+Wik40zHvoShZZsJ\nSjMoe0nX0RpCNW9yh0kf7qoROQGFEHlgqrSZVY/iY7aI4TBnArkZOKw2HKYh\nhGReORHaHSUK5+NYCuXObOcazRYZbjm3frH0662k/wuPUVD9+/hEJfuk0Lfp\ncKGVtbhb9EYgBUqGf8mLbeL/y1EtSw8KGYu2TxJh0DXUHB/G0/OQncohJ8Rd\ntStw5+ewwJAtzC5WonPWzLQwi9uGMnQbrxN9Rcw2/1zGNXEGrLz6wjmWaRVS\nAI8gBu8abRQETz+zzAil/PHsEJyI+CZroSm0eZlvHhHFvqyB12ZSEbEESSge\nSGzJnwlkdHLfV6/z91LRsGp7Lv7B1IrsnqNpWx1tKKlpPambI9pQu/lvPWoH\n66pcij+QG1g7+bZ3vp26llzkH2Z6u7XegVrytDOyCkNV/T0NVcf6/lh2uWsO\n0pMNnop2R7RN3g2c2cm690ZnvgI8cqAb8XhcSFtLFYgW1I/4l2ibYpGAvp6i\nAbG6\r\n=sMhk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF1hx4IJx71AOPtm/1JqURAzNxTMaIPHRs1qeNIDXvtaAiEAvH4dN+9OfmGX4vA+d3eh0g14LoSuy/YSL9BKWzVBHkw="}]},"maintainers":[{"name":"technicallyjosh","email":"technicallyjosh@gmail.com"}],"_npmUser":{"name":"technicallyjosh","email":"technicallyjosh@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pino-http-send_0.4.2_1598977116815_0.6102815758977149"},"_hasShrinkwrap":false}},"time":{"created":"2019-12-18T01:01:40.125Z","0.1.0":"2019-12-18T01:01:40.317Z","modified":"2022-05-12T23:20:34.637Z","0.1.1":"2019-12-18T20:07:32.633Z","0.2.0":"2020-04-08T20:52:59.931Z","0.3.0":"2020-07-20T19:26:38.908Z","0.4.0":"2020-09-01T04:13:24.681Z","0.4.2":"2020-09-01T16:18:37.015Z"},"maintainers":[{"name":"technicallyjosh","email":"technicallyjosh@gmail.com"}],"description":"A basic handler for [pino](https://github.com/pinojs/pino) logs that sends batches to a desired endpoint via HTTP or HTTPS.","homepage":"https://github.com/technicallyjosh/pino-http-send#readme","keywords":["pino","logging","transport","http"],"repository":{"type":"git","url":"git+https://github.com/technicallyjosh/pino-http-send.git"},"author":{"name":"Josh Newman","url":"https://technicallyjosh.com"},"bugs":{"url":"https://github.com/technicallyjosh/pino-http-send/issues"},"license":"ISC","readme":"# pino-http-send\n\nA basic handler for [pino](https://github.com/pinojs/pino) logs that sends batches to a desired\nendpoint via HTTP or HTTPS.\n\n[![npm](https://img.shields.io/npm/v/pino-http-send.svg?style=for-the-badge)](https://npmjs.com/package/pino-http-send)\n[![Travis (.org)](https://img.shields.io/travis/technicallyjosh/pino-http-send.svg?style=for-the-badge)](https://travis-ci.org/technicallyjosh/pino-http-send)\n[![David](https://img.shields.io/david/technicallyjosh/pino-http-send.svg?style=for-the-badge)](https://david-dm.org/technicallyjosh/pino-http-send)\n\n**_Pre v1 is subject to breaking changes on minor version change._**\n\n## Installation\n\n```console\n$ npm i pino-http-send\n```\n\n## Usage\n\n```console\n$ pino-http-send --help\npino-http-send [options]\n\nSending\n  --method, -m\n             [string] [choices: \"POST\", \"PUT\", \"PATCH\", \"GET\"] [default: \"POST\"]\n  --bodyType, -b   type of body to send\n                          [string] [choices: \"json\", \"ndjson\"] [default: \"json\"]\n  --url            url to send logs to                       [string] [required]\n  --batchSize, -s  how many logs to send at a time        [number] [default: 10]\n  --timeout, -t    timeout (in ms) to send logs in bucket that are not filled\n                                                        [number] [default: 5000]\n\nBasic Auth\n  --username, -u  basic auth username                                   [string]\n  --password, -p  basic auth password                                   [string]\n\nRetry\n  --retries, -r   number of retries to do if failure       [number] [default: 5]\n  --interval, -i  interval (in ms) to retry sending if failure\n                                                        [number] [default: 1000]\n\nOptions:\n  --help        Show help                                              [boolean]\n  --version     Show version number                                    [boolean]\n  --log, -l     log to console as well                [boolean] [default: false]\n  --silent      silence pino-http-send logs for failures and retries\n                                                      [boolean] [default: false]\n  --config, -c  path to json config                                     [string]\n```\n\n## Environment Variables\n\nAll options can be defined in the environment and are prefixed with `PINO_HTTP_SEND_`. All\ncamel-cased options are parsed with delimiters of `_`.\n\n_e.g. The option `batchSize` as an env var would be `PINO_HTTP_SEND_BATCH_SIZE`._\n\n## URL\n\n**Example**\n\n```console\n$ node . | pino-http-send --url=http://localhost:8080\n```\n\nYou can also do https...\n\n```console\n$ node . | pino-http-send --url=https://myserver.com:8080\n```\n\n## Body Type\n\n- `ndjson` - New-line delimited JSON. See [ndjson](https://github.com/ndjson/ndjson-spec)\n- `json` - Standard JSON sending of data. Logs are sent in the format of\n  ```json\n  {\n    \"logs\": [...logs]\n  }\n  ```\n\n## Auth\n\nCurrently only basic auth is implemented for the CLI usage. For header usage, you can see the API usage.\n\n## API\n\nYou can also use this module as a [pino destination](https://github.com/pinojs/pino/blob/master/docs/api.md#destination).\n\nThis will use the same batching function like the CLI usage. If the batch length\nis not reached within a certain time (`timeout`), it will auto \"flush\".\n\n### `createWriteStream`\n\nThe options passed to this follow the same values as the CLI defined above.\n\n| Property  | Type                    | Required/Default |\n| --------- | ----------------------- | ---------------- |\n| url       | `string`                | REQUIRED         |\n| log       | `boolean`               | false            |\n| silent    | `boolean`               | false            |\n| method    | `string`                | \"POST\"           |\n| bodyType  | `string`                | \"json\"           |\n| username  | `string`                |                  |\n| password  | `string`                |                  |\n| headers   | `Record<string,string>` |                  |\n| batchSize | `number`                | 10               |\n| retries   | `number`                | 5                |\n| interval  | `number`                | 1000             |\n| timeout   | `number`                | 5000             |\n| config    | `string`                |                  |\n\n```ts\nimport { createWriteStream } from 'pino-http-send';\n\nconst stream = createWriteStream({\n  url: 'http://localhost:8080',\n});\n\nconst logger = pino(\n  {\n    level: 'info',\n  },\n  stream,\n);\n\nlogger.info('test log!');\n```\n","readmeFilename":"README.md"}