{"_id":"pino-abstract-transport","_rev":"13-fb04ea4db554e18af552a515d586ecf8","name":"pino-abstract-transport","dist-tags":{"latest":"3.0.0"},"versions":{"0.1.0":{"name":"pino-abstract-transport","version":"0.1.0","keywords":["pino","transport"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"pino-abstract-transport@0.1.0","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"}],"homepage":"https://github.com/pinojs/pino-abstract-transport#readme","bugs":{"url":"https://github.com/pinojs/pino-abstract-transport/issues"},"dist":{"shasum":"14e94fac516e311a2baa05fd997bc6717129fa62","tarball":"https://registry.npmjs.org/pino-abstract-transport/-/pino-abstract-transport-0.1.0.tgz","fileCount":8,"integrity":"sha512-Z5N/BKAhhtyS4r3XO/yW2WdOytKTMIk0E1DoExxR2lonXPfdwn5OTBj+WSF1PnaLDR4M6JTRD3UW87NtbfPqKw==","signatures":[{"sig":"MEUCIQCxnqPZMTze/yd6TbID6ZF+c7fR92ytgkyHWzcgSF+4twIgMlRR/WjNeZtkqv1MnQS88SH6Yt6B2xC0F78jaJ2nfxM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11431,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgchPXCRA9TVsSAnZWagAAWxUQAJ5ZYngBuGIlrrZK/IDS\nuW0Njyu2R49Qc9jkzAEKgN26biHGrfjj73B2IQXkeyg9kxh33dVfUhH1GPj+\nkLY4XXecsHJ1b4s1/oYwmEfj0p4eciK3Rkh39O1VEGFI5fLg2o9c0qbHdZ4J\n8TSyrNFHn3YlOyRXxWC4fLSRt2Lp63hRpmkJZCjVYPECL9eHO9LckGXugUAL\nZ+xB6jZ3SGh5R0kJhyD6b/ZVF+cbInlrM3zCYGbEVh5RpY3hcAjLd2TL8OvB\njS9gLd7tcMcMM/R5XCetCzuRsoYdne3DyVfWNPTPLfFgtK1MCMINBKT1SVra\nU+CqV6Uekr+z7WDJyL2BXXyezVvniaGTxi8RtkfWv+MZsrUNuUXcWD1tZVFE\nNF/Xr8HxuhsdpYqOjqeGSK9CHqzuJF54toyqKpvuJg+X3cUOwxgfsw05P3M6\nDPKngAwJfBxYPhgLFRdY++PgrKAgMbswugp6MfRdwPtwElk2MASbVdd2DJ2i\nFgSstUXmHfGvh8mfUSWKfcv/R+Np+eSTBg9GmmboXbpjH/sxKqyszr0e+Aj6\ngZ66cfmDcl7qimvUrQIVC1vQuoEhVQBhbSwBivBi051mRC2V/tcHxH7GerTn\n5i7GZYdddqhjvOqHVdnJ+xOuds2nvlQcU6nDobn/OgrniV2Y9IxhYRP/UbcP\n7gO1\r\n=Mvby\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"69d086f58cb6ef89438bfb9eb7bdd97291e6476d","scripts":{"test":"standard | snazzy && tap test/*.test.js","prepare":"husky install"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/pinojs/pino-abstract-transport.git","type":"git"},"_npmVersion":"7.9.0","description":"Write Pino transports easily","directories":{},"_nodeVersion":"14.16.1","dependencies":{"split2":"^3.2.2"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^15.0.2","husky":"^6.0.0","snazzy":"^9.0.0","standard":"^16.0.3"},"_npmOperationalInternal":{"tmp":"tmp/pino-abstract-transport_0.1.0_1618088918800_0.3485723435136858","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"pino-abstract-transport","version":"0.2.0","keywords":["pino","transport"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"pino-abstract-transport@0.2.0","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"}],"homepage":"https://github.com/pinojs/pino-abstract-transport#readme","bugs":{"url":"https://github.com/pinojs/pino-abstract-transport/issues"},"dist":{"shasum":"e27d58d7bb16735c587c54e1d4efecc2cce27436","tarball":"https://registry.npmjs.org/pino-abstract-transport/-/pino-abstract-transport-0.2.0.tgz","fileCount":8,"integrity":"sha512-40sX7xrzDXsrUYr65brL0+bLm6rpZ+wCujDeeBmmZ/y5RVcPdVQsmz0bBe8NtTpELgmzmKwRRPVj1lvKjgFVHw==","signatures":[{"sig":"MEUCIQCglU3dFVBFz4HBUAtmSeOGAswCurZvfWFzdlwrU0333gIgRDSlZk8KTDy2+NsXntqwv1Dd0AojIOWKKPAVwqFBA6M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14548,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpOylCRA9TVsSAnZWagAAYoEQAIs3kRc0oQ0xHgGSItgs\nl8Q3TuAes+gMmXT+2GoJM44PaFxnU2SM1u34l6WdibBuGXDakl+rEpZF/oG5\npmTU91kuVu9TYmrXKXfpYqGnCdL42sy/d+luQQcuSapESEA5jiXDbte5rXB0\n7D/Kdp5b3590IjbVs+e5aE7tKaX1igJaJLPIROolra+UyBJ5oYK5GhZgIRP4\npcNvqli0kvjw44doDJk8mLHQPaPd0I2PDPRmcfj9PWR8YMmjMV1kk0sZqyUM\nDx4iP/Z5psVLlV3N2+fU/cVr6GEvwln9b0pVOmXIx5ddTNlrRWrGJzSWg10E\ncNvbngiE3c4XUGwReFmlKl3ZWfn4ToTY9hsruVywxNtEyf9h1jpQWdMkNqd/\nUslatiKXYncO7Ub927+8oe8ACpeYHlSOGHT5OIs8VbixFAh0u0GlAdfLA9ds\n2kWIzkkRBqhC0wa2eI60VxKYoO6YQfW7dSH9H15qAXvrTnVRULIiLlAJCN6A\nrbzgibw8/S6CbH4SSX06cX70h30yeC0NXUI6VV8zRUgFYM3q8SPBrpZPXBfp\nnnP4fVsRiwfbN32dXruPRTOAGtiL1L/hzws75FjaxzcMKv1VQlFECRCQjBwL\nSVqkBuxrcOYtXForKDurLeMYYo+q2P1jdRpcrv+R3yFDb9q2MqyqjBENJk4Q\nJn4A\r\n=riNv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"9b74d181db8c02cc217bb92c3a315f26ac858205","scripts":{"test":"standard | snazzy && tap test/*.test.js","prepare":"husky install","test-ci":"standard | snazzy && tap test/*.test.js --coverage-report=lcovonly"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/pinojs/pino-abstract-transport.git","type":"git"},"_npmVersion":"6.14.11","description":"Write Pino transports easily","directories":{},"_nodeVersion":"14.16.0","dependencies":{"split2":"^3.2.2"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^15.0.2","husky":"^6.0.0","snazzy":"^9.0.0","standard":"^16.0.3"},"_npmOperationalInternal":{"tmp":"tmp/pino-abstract-transport_0.2.0_1621421220628_0.5721101365686796","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"pino-abstract-transport","version":"0.3.0","keywords":["pino","transport"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"pino-abstract-transport@0.3.0","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"}],"homepage":"https://github.com/pinojs/pino-abstract-transport#readme","bugs":{"url":"https://github.com/pinojs/pino-abstract-transport/issues"},"dist":{"shasum":"9925d826a1b6e9a667ca43d14981d82240edd794","tarball":"https://registry.npmjs.org/pino-abstract-transport/-/pino-abstract-transport-0.3.0.tgz","fileCount":8,"integrity":"sha512-jsd59/ruahIoIU4xAdFtvk3lS9rwsDNJ7Vi0K34ATh1PEOD796SPqvydMaRk296CeTROyBG0SNCwsshN6QhxVg==","signatures":[{"sig":"MEUCIEk7kNyEZCQ4Q2FR6jlnUtzQXOhwdTRBW+WbvkXpjqiVAiEAnNeySvuPLj05hM7QJmaU7ES+fr3NfOY68fitBbd13qI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16360,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQvk7CRA9TVsSAnZWagAATbIP/AuiXxyk31mukz6yfLqf\nSydROG1jYWz6mgeeV0RgVFkdr+k+ncfM3oUlpZ501Q6aOHwZg7hixdZPNulk\n+8Y16fY45+1L+/UMwXM2Yp17aF68kIXzXdOZ9lVQY9Xwji7J6RuNzRHA8+1S\nfr/nw3GKE9P4qmljV8MIc9nzd42sS3uUOE1QKZYJysbb2EM8I7x9Fj4OVOWq\nRpC8ngVthn63ouLRXRkkFdkcGbMSte53nyf5cS4NSblDAKKiHbHf9rtMamYq\n/FGgKN38707A1qNXe7htF1sYn+nzVjkPVoBffzWGeLtkTEoBD5oCEN3LO5GJ\n909kd0+gPuuWzF97Qw7OA9ntSrcNIZvOSzAy7YlUKjC98zv1CA9BkDWwHOvb\nTVAjGhT4Y2GSXdGhZW/y2RhOqmPHsQjtzN0nlAxhfgH9pq8cSdiwlNCcrvZn\n4md7OKOIfvH4bkpdlqJ9XqotnfEuFgtzz/zem5bKSHiDGZONHd+bvEKnYdbN\npzEBxczvdrXz7QZLwddsuZ/RzY+pYcmz1L3uWYe3HLrQyihj5vjW6sZJoxfY\nM1hSgA9d70XQbJZd5K4sbcSXPDLzFwUhorFrT/KBfw7lvSQgSeiV8o1huiCp\nvFXQ0EllHREOI5r/FOD+ffEmh2HsEyT1gwSJne+6AAdSLgUjgt7Wq2uztVOe\nmoGT\r\n=t/4t\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"04d5954f315e021e7db8eeecb5a0fd1fc8401db0","scripts":{"test":"standard | snazzy && tap test/*.test.js","prepare":"husky install","test-ci":"standard | snazzy && tap test/*.test.js --coverage-report=lcovonly"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/pinojs/pino-abstract-transport.git","type":"git"},"_npmVersion":"6.14.13","description":"Write Pino transports easily","directories":{},"_nodeVersion":"14.17.0","dependencies":{"split2":"^3.2.2"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^15.0.2","husky":"^7.0.0","snazzy":"^9.0.0","standard":"^16.0.3"},"_npmOperationalInternal":{"tmp":"tmp/pino-abstract-transport_0.3.0_1631779131448_0.2360372007919973","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"pino-abstract-transport","version":"0.4.0","keywords":["pino","transport"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"pino-abstract-transport@0.4.0","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"}],"homepage":"https://github.com/pinojs/pino-abstract-transport#readme","bugs":{"url":"https://github.com/pinojs/pino-abstract-transport/issues"},"dist":{"shasum":"be5913fa55542f82fccb77f6a9e04735fa583cac","tarball":"https://registry.npmjs.org/pino-abstract-transport/-/pino-abstract-transport-0.4.0.tgz","fileCount":8,"integrity":"sha512-Znl3f1ntZnDG+NpCyJyJDS+lkrlRSbgQBkV3eqNAvet/QHql6rhKLc4DuYRlwfc3fvV611O9NXPm5pbT9AJ50g==","signatures":[{"sig":"MEUCIBkoBPtlNyzBBFdzsFNH215SBOYOEhPF/4XeG+tljGAoAiEAiqqJJBVuc1q+rxWFTD9EFc1T12p3EKGYfViUXkyTtds=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18726},"main":"index.js","gitHead":"3d12a49149d486cc13168603461c3c19383b240d","scripts":{"test":"standard | snazzy && tap test/*.test.js","prepare":"husky install","test-ci":"standard | snazzy && tap test/*.test.js --coverage-report=lcovonly"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/pinojs/pino-abstract-transport.git","type":"git"},"_npmVersion":"7.24.0","description":"Write Pino transports easily","directories":{},"_nodeVersion":"16.10.0","dependencies":{"split2":"^3.2.2","duplexify":"^4.1.2"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^15.0.2","husky":"^7.0.0","snazzy":"^9.0.0","standard":"^16.0.3"},"_npmOperationalInternal":{"tmp":"tmp/pino-abstract-transport_0.4.0_1633211687232_0.11739862085546782","host":"s3://npm-registry-packages"}},"0.5.0":{"name":"pino-abstract-transport","version":"0.5.0","keywords":["pino","transport"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"pino-abstract-transport@0.5.0","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"}],"homepage":"https://github.com/pinojs/pino-abstract-transport#readme","bugs":{"url":"https://github.com/pinojs/pino-abstract-transport/issues"},"tsd":{"directory":"./test/types"},"dist":{"shasum":"4b54348d8f73713bfd14e3dc44228739aa13d9c0","tarball":"https://registry.npmjs.org/pino-abstract-transport/-/pino-abstract-transport-0.5.0.tgz","fileCount":10,"integrity":"sha512-+KAgmVeqXYbTtU2FScx1XS3kNyfZ5TrXY07V96QnUSFqo2gAqlvmaxH67Lj7SWazqsMabf+58ctdTcBgnOLUOQ==","signatures":[{"sig":"MEQCICwqUP/RK8i9yyfnqlElv9QKF7Cm+E+EYIYZxFtqG+ksAiBzaqBjourLItPSeIMi5Yq8tMJUM+gJFvPiwtu3pB/rbQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22120,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh22qFCRA9TVsSAnZWagAA0LQP/RL1La4tASRtbW2t5ekH\nkBCyBUmDa+ulHauuFV+B0GvkxDpJ4Cqy1LIGjVLViPNoYtsYRu2cjLX7Dvtp\nTYQMJzggxB4AU28kK9j5KR8GGJNlsEcvp01aF8ZcaupZewle+pX05IXGZOUj\n+LYnLanRqCyB2hGW8l/lM416uSbRa23Dwj/cAuZvyA8ukeCYsFO2OS6KK63m\njDvkuakNWH2as6VV3oO9da9Ww5B4XkgMRF29FVabMNH1nPe/9X8vmmR9snLy\nCM9+O6wRP5eWz5D2iVB0sp4HM8ENpwUGNyKsowb09qKm55umfGO+dxcUdNDt\nrJEozWUhZDA6RogbcujCCsK+RuCzb6KTy+nDRIh2fLXKKnZ9ux72axZtozUu\nYjOEaFE9U+Lqtq7oYXKSUXIlWdqy/D32fFdow3WWrZtFijzT4Q8yobuZ0S4g\n/Yy1lZ0CB520Ta7RzMYqN+EwbT04JqxL5Clrmz9xF/W+0dYzoDqEOiNQjprX\nFtSh1+oKKBut8Jc/SH30PInA6hmLmylfkghuHjLfCZkATg+4lyk694t5rDQl\nErw1jVTj8CvUx+GGGExR0K/e3f0YL8Fv+R6M4JezRrOOHpa7k9HksHuA1wJ0\n3ba74WE+9Oc7cC/NoLVrHqheJkgYJVQ8GcF0LcQpRD0S1ZxCmkaCATevdqty\nRrv8\r\n=Rmjm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"./index.d.ts","gitHead":"3a1670011db663aced797a11b1b629f3e22d8fe3","scripts":{"test":"standard | snazzy && tap test/*.test.js && tsd","prepare":"husky install","test-ci":"standard | snazzy && tap test/*.test.js --coverage-report=lcovonly && tsd"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/pinojs/pino-abstract-transport.git","type":"git"},"_npmVersion":"8.0.0","description":"Write Pino transports easily","directories":{},"_nodeVersion":"16.11.0","dependencies":{"split2":"^4.0.0","duplexify":"^4.1.2"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^15.0.2","tsd":"^0.18.0","husky":"^7.0.0","snazzy":"^9.0.0","standard":"^16.0.3","@types/node":"^16.11.6"},"_npmOperationalInternal":{"tmp":"tmp/pino-abstract-transport_0.5.0_1635925071327_0.08159882696082188","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"pino-abstract-transport","version":"1.0.0","keywords":["pino","transport"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"pino-abstract-transport@1.0.0","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"}],"homepage":"https://github.com/pinojs/pino-abstract-transport#readme","bugs":{"url":"https://github.com/pinojs/pino-abstract-transport/issues"},"tsd":{"directory":"./test/types"},"dist":{"shasum":"cc0d6955fffcadb91b7b49ef220a6cc111d48bb3","tarball":"https://registry.npmjs.org/pino-abstract-transport/-/pino-abstract-transport-1.0.0.tgz","fileCount":10,"integrity":"sha512-c7vo5OpW4wIS42hUVcT5REsL8ZljsUfBjqV/e2sFxmFEFZiq1XLUp5EYLtuDH6PEHq9W1egWqRbnLUP5FuZmOA==","signatures":[{"sig":"MEQCIGHph7TYdNGL96GSGw7cYXry+JqEWwV1lE8ijAPrp0TGAiB7gCQn4M8Rp+ibpQBqgpKS9/pfjsMtytNwuGiRmoupDQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23089,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJisIx6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqBOxAAksI47gkRV6Gei3KcQuPCxKPTEJUlkuVoE4gSrJ+hjrplT+hC\r\njXaxJwR2Vqf54CYYcbRdEadIEBjizlzPsykG7fpVt7+pAMK+sQaniUcz2atJ\r\nhF72Zq25Rlt7oJ07UXJA8gPz9t896W6gjiypJ4gMUkUGvCswTlXaTZmA9bdY\r\n20yMm8P2qXKPgtUoItwCQq9yhm3ugvC7dnSIF1Fsg9lcRFZzAORartFyeTys\r\n64+dPCOHykD4GYJ7MhYu+Y6F/5a5HDlj2gnxFeL+Wg1NeA3HA9kHjl0C+BOi\r\n0ONTtkfHNFACuqTTCLbA82jQoec+kZmdYHnA3nr0AwQvzwsyDwFfNe05fazZ\r\nsQ21Jz0BG6KgCYfLpXdKcgwMDnHjZ31Xfo/WFbZIRPOe5nRfCnFA6UcNZFDF\r\n9opOYYfKNh8BNmE0MsIIVN3VEFAm4K3lqbYX8UDTUpFUjiDj2a9CLQFUw/EH\r\nQy9SBPwHrqn2f7oXpJm7MpiUkjTAanp3VgPA7QIXLIYU8z44FCzQQea14QPd\r\nifgqixXIs5D3neuuPbYHFEJl99QwLp9owqnMFC/y5u5gbNAA5h1V8kdGg0H8\r\ntiMiTRepVOVazvxK//pOVJ6dK1hN2OQhiGulIdC67yWm5sp1o/ENx3LNuXA6\r\ni/Kc8SgBHE61/uEqY7AY3UgorGjhOyWVNlE=\r\n=IbB5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"./index.d.ts","gitHead":"404395ac6756b10718d7ea7a52130ef282a1252d","scripts":{"test":"standard | snazzy && tap test/*.test.js && tsd","prepare":"husky install","test-ci":"standard | snazzy && tap test/*.test.js --coverage-report=lcovonly && tsd"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/pinojs/pino-abstract-transport.git","type":"git"},"_npmVersion":"8.11.0","description":"Write Pino transports easily","directories":{},"_nodeVersion":"16.15.1","dependencies":{"split2":"^4.0.0","readable-stream":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","tsd":"^0.21.0","husky":"^8.0.0","snazzy":"^9.0.0","standard":"^17.0.0","@types/node":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/pino-abstract-transport_1.0.0_1655737466801_0.04760635125881696","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"pino-abstract-transport","version":"1.1.0","keywords":["pino","transport"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"pino-abstract-transport@1.1.0","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"}],"homepage":"https://github.com/pinojs/pino-abstract-transport#readme","bugs":{"url":"https://github.com/pinojs/pino-abstract-transport/issues"},"tsd":{"directory":"./test/types"},"dist":{"shasum":"083d98f966262164504afb989bccd05f665937a8","tarball":"https://registry.npmjs.org/pino-abstract-transport/-/pino-abstract-transport-1.1.0.tgz","fileCount":10,"integrity":"sha512-lsleG3/2a/JIWUtf9Q5gUNErBqwIu1tUKTT3dUzaf5DySw9ra1wcqKjJjLX1VTY64Wk1eEOYsVGSaGfCK85ekA==","signatures":[{"sig":"MEQCIDYScWQx29CRkc6CVGr4DzHUd64W71rQesoXy47Y7xDkAiBD9mjBqvBVUBbFotuJReb3qgJ77X4JMsp8lFoJP6YfMw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23247},"main":"index.js","types":"./index.d.ts","gitHead":"61296cc87ffd8607c6a5eff86a848fd97a6a17ac","scripts":{"test":"standard | snazzy && tap test/*.test.js && tsd","prepare":"husky install","test-ci":"standard | snazzy && tap test/*.test.js --coverage-report=lcovonly && tsd"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/pinojs/pino-abstract-transport.git","type":"git"},"_npmVersion":"9.6.7","description":"Write Pino transports easily","directories":{},"_nodeVersion":"18.17.0","dependencies":{"split2":"^4.0.0","readable-stream":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","tsd":"^0.28.0","husky":"^8.0.0","snazzy":"^9.0.0","standard":"^17.0.0","@types/node":"^20.1.0"},"_npmOperationalInternal":{"tmp":"tmp/pino-abstract-transport_1.1.0_1693819008663_0.38121787315103295","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"pino-abstract-transport","version":"1.2.0","keywords":["pino","transport"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"pino-abstract-transport@1.2.0","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"}],"homepage":"https://github.com/pinojs/pino-abstract-transport#readme","bugs":{"url":"https://github.com/pinojs/pino-abstract-transport/issues"},"tsd":{"directory":"./test/types"},"dist":{"shasum":"97f9f2631931e242da531b5c66d3079c12c9d1b5","tarball":"https://registry.npmjs.org/pino-abstract-transport/-/pino-abstract-transport-1.2.0.tgz","fileCount":15,"integrity":"sha512-Guhh8EZfPCfH+PMXAb6rKOjGQEoy0xlAIn+irODG5kgfYV+BQ0rGYYWTIel3P5mmyXqkYkPmdIkywsn6QKUR1Q==","signatures":[{"sig":"MEUCIDd6DN4Uamh8jRd87Jo73niJ6Wl7DpBMQ0EZI4w9HfNpAiEAk+6ACpK0h7X0jymYzbZQXP+UFnkhH9KJIBGojFUufKQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38869},"main":"index.js","types":"./index.d.ts","gitHead":"bade2846f38894e7248b9b678673d2f4d26e6020","scripts":{"test":"standard | snazzy && tap test/*.test.js && tsd","prepare":"husky install","test-ci":"standard | snazzy && tap test/*.test.js --coverage-report=lcovonly && tsd"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/pinojs/pino-abstract-transport.git","type":"git"},"_npmVersion":"10.5.0","description":"Write Pino transports easily","directories":{},"_nodeVersion":"20.12.2","dependencies":{"split2":"^4.0.0","readable-stream":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","tsd":"^0.31.0","husky":"^9.0.6","snazzy":"^9.0.0","standard":"^17.0.0","@types/node":"^20.1.0","thread-stream":"^2.4.1"},"_npmOperationalInternal":{"tmp":"tmp/pino-abstract-transport_1.2.0_1713789052423_0.25092491727394095","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"pino-abstract-transport","version":"2.0.0","keywords":["pino","transport"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"pino-abstract-transport@2.0.0","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"}],"homepage":"https://github.com/pinojs/pino-abstract-transport#readme","bugs":{"url":"https://github.com/pinojs/pino-abstract-transport/issues"},"tsd":{"directory":"./test/types"},"dist":{"shasum":"de241578406ac7b8a33ce0d77ae6e8a0b3b68a60","tarball":"https://registry.npmjs.org/pino-abstract-transport/-/pino-abstract-transport-2.0.0.tgz","fileCount":15,"integrity":"sha512-F63x5tizV6WCh4R6RHyi2Ml+M70DNRXt/+HANowMflpgGFMAym/VKm6G7ZOQRjqN7XbGxK1Lg9t6ZrtzOaivMw==","signatures":[{"sig":"MEQCIELbSINbDlu1Pxj8ruq9pDSYeXmPoMKkOhHYlMmvuGdnAiAOu1ndL2z8Dba7P6FzSyaaC1CpfcV0H+yogoVMkWeq1g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38204},"main":"index.js","types":"./index.d.ts","gitHead":"e7861ecbbfdcc52f7b3be5ca41722c62b410f271","scripts":{"test":"standard | snazzy && tap test/*.test.js && tsd","prepare":"husky install","test-ci":"standard | snazzy && tap test/*.test.js --coverage-report=lcovonly && tsd"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/pinojs/pino-abstract-transport.git","type":"git"},"_npmVersion":"10.8.1","description":"Write Pino transports easily","directories":{},"_nodeVersion":"20.16.0","dependencies":{"split2":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","tsd":"^0.31.0","husky":"^9.0.6","snazzy":"^9.0.0","standard":"^17.0.0","@types/node":"^20.1.0","thread-stream":"^2.6.0"},"_npmOperationalInternal":{"tmp":"tmp/pino-abstract-transport_2.0.0_1725347658035_0.19132059967505644","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"pino-abstract-transport","version":"3.0.0","description":"Write Pino transports easily","main":"index.js","scripts":{"prepare":"husky install","test":"standard | snazzy && borp --check-coverage 'test/*.test.js' && tsd","test-ci":"npm test"},"repository":{"type":"git","url":"git+https://github.com/pinojs/pino-abstract-transport.git"},"keywords":["pino","transport"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","bugs":{"url":"https://github.com/pinojs/pino-abstract-transport/issues"},"homepage":"https://github.com/pinojs/pino-abstract-transport#readme","dependencies":{"split2":"^4.0.0"},"devDependencies":{"@matteo.collina/tspl":"^0.2.0","@types/node":"^20.1.0","borp":"^0.20.2","husky":"^9.0.6","snazzy":"^9.0.0","standard":"^17.0.0","thread-stream":"^3.1.0","tsd":"^0.31.0"},"tsd":{"directory":"./test/types"},"_id":"pino-abstract-transport@3.0.0","gitHead":"11556d6e141366ca7cbe1138ce8ddef72eaa2558","types":"./index.d.ts","_nodeVersion":"24.7.0","_npmVersion":"11.5.1","dist":{"integrity":"sha512-wlfUczU+n7Hy/Ha5j9a/gZNy7We5+cXp8YL+X+PG8S0KXxw7n/JXA3c46Y0zQznIJ83URJiwy7Lh56WLokNuxg==","shasum":"b21e5f33a297e8c4c915c62b3ce5dd4a87a52c23","tarball":"https://registry.npmjs.org/pino-abstract-transport/-/pino-abstract-transport-3.0.0.tgz","fileCount":16,"unpackedSize":39716,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCYcSChooYBt0QVQmm6IF6Ud7l+s4dXXpplft+37syM7QIgZZUamI9BTPfc//dvMaBVESWMvDAKt6WfpBWQXM2TNs4="}]},"_npmUser":{"name":"jsumners","email":"james.sumners@gmail.com"},"directories":{},"maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"watson","email":"w@tson.dk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pino-abstract-transport_3.0.0_1759753266346_0.6955896566209769"},"_hasShrinkwrap":false}},"time":{"created":"2021-04-10T21:08:38.800Z","modified":"2025-10-06T12:21:06.808Z","0.1.0":"2021-04-10T21:08:38.942Z","0.2.0":"2021-05-19T10:47:00.809Z","0.3.0":"2021-09-16T07:58:51.588Z","0.4.0":"2021-10-02T21:54:47.369Z","0.5.0":"2021-11-03T07:37:51.448Z","1.0.0":"2022-06-20T15:04:26.960Z","1.1.0":"2023-09-04T09:16:48.836Z","1.2.0":"2024-04-22T12:30:52.629Z","2.0.0":"2024-09-03T07:14:18.315Z","3.0.0":"2025-10-06T12:21:06.579Z"},"bugs":{"url":"https://github.com/pinojs/pino-abstract-transport/issues"},"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","homepage":"https://github.com/pinojs/pino-abstract-transport#readme","keywords":["pino","transport"],"repository":{"type":"git","url":"git+https://github.com/pinojs/pino-abstract-transport.git"},"description":"Write Pino transports easily","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"watson","email":"w@tson.dk"}],"readme":"# pino-abstract-transport\n[![npm version](https://img.shields.io/npm/v/pino-abstract-transport)](https://www.npmjs.com/package/pino-abstract-transport)\n[![Build Status](https://img.shields.io/github/actions/workflow/status/pinojs/pino-abstract-transport/ci.yml?branch=main)](https://github.com/pinojs/pino-abstract-transport/actions)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/)\n\nWrite Pino transports easily.\n\n## Install\n\n```sh\nnpm i pino-abstract-transport\n```\n\n## Usage\n\n```js\nimport build from 'pino-abstract-transport'\n\nexport default async function (opts) {\n return build(async function (source) {\n for await (let obj of source) {\n console.log(obj)\n }\n })\n}\n```\n\nor in CommonJS and streams:\n\n```js\n'use strict'\n\nconst build = require('pino-abstract-transport')\n\nmodule.exports = function (opts) {\n return build(function (source) {\n source.on('data', function (obj) {\n console.log(obj)\n })\n })\n}\n```\n\n## Typescript usage\n\nInstall the type definitions for node. Make sure the major version of the type definitions matches the node version you are using.\n\n#### Node 16\n\n```sh\nnpm i -D @types/node@16\n```\n\n## API\n\n### build(fn, opts) => Stream\n\nCreate a [`split2`](http://npm.im/split2) instance and returns it.\nThis same instance is also passed to the given function, which is called\nsynchronously.\n\nIf `opts.transform` is `true`, `pino-abstract-transform` will \nwrap the split2 instance and the returned stream using [`duplexify`](https://www.npmjs.com/package/duplexify),\nso they can be concatenated into multiple transports.\n\n#### Events emitted\n\nIn addition to all events emitted by a [`Readable`](https://nodejs.org/api/stream.html#stream_class_stream_readable)\nstream, it emits the following events:\n\n* `unknown` where an unparsable line is found, both the line and optional error is emitted.\n\n#### Options\n\n* `parse` an option to change to data format passed to build function. When this option is set to `lines`,\n the data is passed as a string, otherwise the data is passed as an object. Default: `undefined`.\n\n* `close(err, cb)` a function that is called to shutdown the transport. It's called both on error and non-error shutdowns.\n It can also return a promise. In this case discard the the `cb` argument.\n\n* `parseLine(line)` a function that is used to parse line received from `pino`.\n\n* `expectPinoConfig` a boolean that indicates if the transport expects Pino to add some of its configuration to the stream. Default: `false`.\n\n## Example\n\n### custom parseLine\n\nYou can allow custom `parseLine` from users while providing a simple and safe default parseLine.\n\n```js\n'use strict'\n\nconst build = require('pino-abstract-transport')\n\nfunction defaultParseLine (line) {\n const obj = JSON.parse(line)\n // property foo will be added on each line\n obj.foo = 'bar'\n return obj\n}\n\nmodule.exports = function (opts) {\n const parseLine = typeof opts.parseLine === 'function' ? opts.parseLine : defaultParseLine\n return build(function (source) {\n source.on('data', function (obj) {\n console.log(obj)\n })\n }, {\n parseLine: parseLine\n })\n}\n```\n\n### Stream concatenation / pipeline\n\nYou can pipeline multiple transports:\n\n```js\nconst build = require('pino-abstract-transport')\nconst { Transform, pipeline } = require('stream')\n\nfunction buildTransform () {\n return build(function (source) {\n return new Transform({\n objectMode: true,\n autoDestroy: true,\n transform (line, enc, cb) {\n line.service = 'bob'\n cb(null, JSON.stringify(line))\n }\n })\n }, { enablePipelining: true })\n}\n\nfunction buildDestination () {\n return build(function (source) {\n source.on('data', function (obj) {\n console.log(obj)\n })\n })\n}\n\npipeline(process.stdin, buildTransform(), buildDestination(), function (err) {\n console.log('pipeline completed!', err)\n})\n```\n\n### Using pino config\n\nSetting `expectPinoConfig` to `true` will make the transport wait for pino to send its configuration before starting to process logs. It will add `levels`, `messageKey` and `errorKey` to the stream.\n\nWhen used with an incompatible version of pino, the stream will immediately error.\n\n```js\nimport build from 'pino-abstract-transport'\n\nexport default function (opts) {\n return build(async function (source) {\n for await (const obj of source) {\n console.log(`[${source.levels.labels[obj.level]}]: ${obj[source.messageKey]}`)\n }\n }, {\n expectPinoConfig: true\n })\n}\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}