{"name":"pino","version":"9.6.0","description":"super fast, all natural json logger","main":"pino.js","type":"commonjs","types":"pino.d.ts","browser":"./browser.js","scripts":{"docs":"docsify serve","browser-test":"airtap --local 8080 test/browser*test.js","lint":"eslint .","prepublishOnly":"tap --no-check-coverage test/internals/version.test.js","test":"npm run lint && npm run transpile && tap --ts && jest test/jest && npm run test-types","test-ci":"npm run lint && npm run transpile && tap --ts --no-check-coverage --coverage-report=lcovonly && npm run test-types","test-ci-pnpm":"pnpm run lint && npm run transpile && tap --ts --no-coverage --no-check-coverage && pnpm run test-types","test-ci-yarn-pnp":"yarn run lint && npm run transpile && tap --ts --no-check-coverage --coverage-report=lcovonly","test-types":"tsc && tsd && ts-node test/types/pino.ts","test:smoke":"smoker smoke:pino && smoker smoke:browser && smoker smoke:file","smoke:pino":"node ./pino.js","smoke:browser":"node ./browser.js","smoke:file":"node ./file.js","transpile":"node ./test/fixtures/ts/transpile.cjs","cov-ui":"tap --ts --coverage-report=html","bench":"node benchmarks/utils/runbench all","bench-basic":"node benchmarks/utils/runbench basic","bench-object":"node benchmarks/utils/runbench object","bench-deep-object":"node benchmarks/utils/runbench deep-object","bench-multi-arg":"node benchmarks/utils/runbench multi-arg","bench-longs-tring":"node benchmarks/utils/runbench long-string","bench-child":"node benchmarks/utils/runbench child","bench-child-child":"node benchmarks/utils/runbench child-child","bench-child-creation":"node benchmarks/utils/runbench child-creation","bench-formatters":"node benchmarks/utils/runbench formatters","update-bench-doc":"node benchmarks/utils/generate-benchmark-doc > docs/benchmarks.md"},"bin":{"pino":"bin.js"},"precommit":"test","repository":{"type":"git","url":"git+https://github.com/pinojs/pino.git"},"keywords":["fast","logger","stream","json"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"contributors":[{"name":"David Mark Clements","email":"huperekchuno@googlemail.com"},{"name":"James Sumners","email":"james.sumners@gmail.com"},{"name":"Thomas Watson Steen","email":"w@tson.dk","url":"https://twitter.com/wa7son"}],"license":"MIT","bugs":{"url":"https://github.com/pinojs/pino/issues"},"homepage":"https://getpino.io","devDependencies":{"@types/flush-write-stream":"^1.0.0","@types/node":"^22.0.0","@types/tap":"^15.0.6","@yao-pkg/pkg":"6.1.1","airtap":"5.0.0","benchmark":"^2.1.4","bole":"^5.0.5","bunyan":"^1.8.14","debug":"^4.3.4","docsify-cli":"^4.4.4","eslint":"^8.17.0","eslint-config-standard":"^17.0.0","eslint-plugin-import":"^2.26.0","eslint-plugin-n":"15.7.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^6.0.0","execa":"^5.0.0","fastbench":"^1.0.1","flush-write-stream":"^2.0.0","import-fresh":"^3.2.1","jest":"^29.0.3","log":"^6.0.0","loglevel":"^1.6.7","midnight-smoker":"1.1.1","pino-pretty":"^11.0.0","pre-commit":"^1.2.2","proxyquire":"^2.1.3","pump":"^3.0.0","rimraf":"^6.0.1","semver":"^7.3.7","split2":"^4.0.0","steed":"^1.1.3","strip-ansi":"^6.0.0","tap":"^16.2.0","tape":"^5.5.3","through2":"^4.0.0","ts-node":"^10.9.1","tsd":"^0.31.0","typescript":"~5.7.2","winston":"^3.7.2"},"dependencies":{"atomic-sleep":"^1.0.0","fast-redact":"^3.1.1","on-exit-leak-free":"^2.1.0","pino-abstract-transport":"^2.0.0","pino-std-serializers":"^7.0.0","process-warning":"^4.0.0","quick-format-unescaped":"^4.0.3","real-require":"^0.2.0","safe-stable-stringify":"^2.3.1","sonic-boom":"^4.0.1","thread-stream":"^3.0.0"},"tsd":{"directory":"test/types"},"_id":"pino@9.6.0","gitHead":"6bf9478d6fe3c8d50a29fb3784ef8409e483efc4","_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-i85pKRCt4qMjZ1+L7sy2Ag4t1atFcdbEt76+7iRJn1g2BvsnRMGu9p8pivl9fs63M2kF/A0OacFZhTub+m/qMg==","shasum":"6bc628159ba0cc81806d286718903b7fc6b13169","tarball":"http://registry-npm.ywwl.com/pino/download/pino-9.6.0.tgz","fileCount":199,"unpackedSize":746497,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCsF6dXvYfQ15f89HkhZ/OhLmhQilxPd0TfknSGUuQbQwIhAMWMDc/aoNOK4ABYjjz42IOxoPgnnba1GfEiAJRFRsOQ"}],"size":240944,"noattachment":false,"key":"/pino/-/pino-9.6.0.tgz"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pino_9.6.0_1734948368213_0.9267396987951844"},"_hasShrinkwrap":false,"readme":"![banner](pino-banner.png)\n\n# pino\n[![npm version](https://img.shields.io/npm/v/pino)](https://www.npmjs.com/package/pino)\n[![Build Status](https://img.shields.io/github/actions/workflow/status/pinojs/pino/ci.yml)](https://github.com/pinojs/pino/actions)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/)\n\n[Very low overhead](#low-overhead) Node.js logger.\n\n## Documentation\n\n* [Benchmarks ⇗](/docs/benchmarks.md)\n* [API ⇗](/docs/api.md)\n* [Browser API ⇗](/docs/browser.md)\n* [Redaction ⇗](/docs/redaction.md)\n* [Child Loggers ⇗](/docs/child-loggers.md)\n* [Transports ⇗](/docs/transports.md)\n* [Web Frameworks ⇗](/docs/web.md)\n* [Pretty Printing ⇗](/docs/pretty.md)\n* [Asynchronous Logging ⇗](/docs/asynchronous.md)\n* [Ecosystem ⇗](/docs/ecosystem.md)\n* [Help ⇗](/docs/help.md)\n* [Long Term Support Policy ⇗](/docs/lts.md)\n\n## Install\n\nUsing NPM:\n```\n$ npm install pino\n```\n\nUsing YARN:\n```\n$ yarn add pino\n```\n\nIf you would like to install pino v6, refer to https://github.com/pinojs/pino/tree/v6.x.\n\n## Usage\n\n```js\nconst logger = require('pino')()\n\nlogger.info('hello world')\n\nconst child = logger.child({ a: 'property' })\nchild.info('hello child!')\n```\n\nThis produces:\n\n```\n{\"level\":30,\"time\":1531171074631,\"msg\":\"hello world\",\"pid\":657,\"hostname\":\"Davids-MBP-3.fritz.box\"}\n{\"level\":30,\"time\":1531171082399,\"msg\":\"hello child!\",\"pid\":657,\"hostname\":\"Davids-MBP-3.fritz.box\",\"a\":\"property\"}\n```\n\nFor using Pino with a web framework see:\n\n* [Pino with Fastify](docs/web.md#fastify)\n* [Pino with Express](docs/web.md#express)\n* [Pino with Hapi](docs/web.md#hapi)\n* [Pino with Restify](docs/web.md#restify)\n* [Pino with Koa](docs/web.md#koa)\n* [Pino with Node core `http`](docs/web.md#http)\n* [Pino with Nest](docs/web.md#nest)\n\n\n<a name=\"essentials\"></a>\n## Essentials\n\n### Development Formatting\n\nThe [`pino-pretty`](https://github.com/pinojs/pino-pretty) module can be used to\nformat logs during development:\n\n![pretty demo](pretty-demo.png)\n\n### Transports & Log Processing\n\nDue to Node's single-threaded event-loop, it's highly recommended that sending,\nalert triggering, reformatting, and all forms of log processing\nare conducted in a separate process or thread.\n\nIn Pino terminology, we call all log processors \"transports\" and recommend that the\ntransports be run in a worker thread using our `pino.transport` API.\n\nFor more details see our [Transports⇗](docs/transports.md) document.\n\n### Low overhead\n\nUsing minimum resources for logging is very important. Log messages\ntend to get added over time and this can lead to a throttling effect\non applications – such as reduced requests per second.\n\nIn many cases, Pino is over 5x faster than alternatives.\n\nSee the [Benchmarks](docs/benchmarks.md) document for comparisons.\n\n### Bundling support\n\nPino supports being bundled using tools like webpack or esbuild. \n\nSee [Bundling](docs/bundling.md) document for more information.\n\n<a name=\"team\"></a>\n## The Team\n\n### Matteo Collina\n\n<https://github.com/mcollina>\n\n<https://www.npmjs.com/~matteo.collina>\n\n<https://twitter.com/matteocollina>\n\n### David Mark Clements\n\n<https://github.com/davidmarkclements>\n\n<https://www.npmjs.com/~davidmarkclements>\n\n<https://twitter.com/davidmarkclem>\n\n### James Sumners\n\n<https://github.com/jsumners>\n\n<https://www.npmjs.com/~jsumners>\n\n<https://twitter.com/jsumners79>\n\n### Thomas Watson Steen\n\n<https://github.com/watson>\n\n<https://www.npmjs.com/~watson>\n\n<https://twitter.com/wa7son>\n\n## Contributing\n\nPino is an **OPEN Open Source Project**. This means that:\n\n> Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project.\n\nSee the [CONTRIBUTING.md](https://github.com/pinojs/pino/blob/main/CONTRIBUTING.md) file for more details.\n\n<a name=\"acknowledgments\"></a>\n## Acknowledgments\n\nThis project was kindly sponsored by [nearForm](https://nearform.com).\nThis project is kindly sponsored by [Platformatic](https://platformatic.dev).\n\nLogo and identity designed by Cosmic Fox Design: https://www.behance.net/cosmicfox.\n\n## License\n\nLicensed under [MIT](./LICENSE).\n\n[elasticsearch]: https://www.elastic.co/products/elasticsearch\n[kibana]: https://www.elastic.co/products/kibana\n","publish_time":1734948368434,"maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"watson","email":"w@tson.dk"},{"name":"davidmarkclements","email":"huperekchuno@googlemail.com"}],"_cnpm_publish_time":1734948368434,"dist-tags":{"four":"4.17.6","latest":"10.4.0","legacy":"2.16.0","next":"7.0.0-rc.9","six":"6.14.0"}}