{"name":"pino","version":"9.9.3","keywords":["fast","logger","stream","json"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"pino@9.9.3","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"}],"contributors":[{"name":"David Mark Clements","email":"huperekchuno@googlemail.com"},{"name":"James Sumners","email":"james.sumners@gmail.com"},{"url":"https://twitter.com/wa7son","name":"Thomas Watson Steen","email":"w@tson.dk"}],"homepage":"https://getpino.io","bugs":{"url":"https://github.com/pinojs/pino/issues"},"bin":{"pino":"bin.js"},"tsd":{"directory":"test/types"},"dist":{"shasum":"fe7a46873c113c4b809015ebd309ba442efb06b6","tarball":"http://registry-npm.ywwl.com/pino/download/pino-9.9.3.tgz","fileCount":203,"integrity":"sha512-uEG6ToKnDnT35oxdQDE5jdvDneFvZD2a4hUxzVR8PSgHVVKeDMxrrh/iDVvGGX9MGotYZS+jLOuFbT8e/mQN1Q==","signatures":[{"sig":"MEUCIQDgsnRum30cFd3evNCs6fDXloUkVyV7HyKytmJVgvjpoAIgIK1KyE1PHHP6ddYoj4gtM0ENkaTcrh9IlHRCyU8Cri8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/pino@9.9.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":761287,"size":244410,"noattachment":false,"key":"/pino/-/pino-9.9.3.tgz"},"main":"pino.js","type":"commonjs","types":"pino.d.ts","browser":"./browser.js","gitHead":"aa9a5c2c7e4711c731da24895e7ecaa3b326e0b9","scripts":{"docs":"docsify serve","lint":"eslint .","test":"npm run lint && npm run transpile && tap --ts && jest test/jest && npm run test-types","bench":"node benchmarks/utils/runbench all","cov-ui":"tap --ts --coverage-report=html","test-ci":"npm run lint && npm run transpile && tap --ts --no-check-coverage --coverage-report=lcovonly && npm run test-types","transpile":"node ./test/fixtures/ts/transpile.cjs","smoke:file":"node ./file.js","smoke:pino":"node ./pino.js","test-types":"tsc && tsd && ts-node test/types/pino.ts && attw --pack .","test:smoke":"smoker smoke:pino && smoker smoke:browser && smoker smoke:file","bench-basic":"node benchmarks/utils/runbench basic","bench-child":"node benchmarks/utils/runbench child","bench-object":"node benchmarks/utils/runbench object","browser-test":"airtap --local 8080 test/browser*test.js","test-ci-pnpm":"pnpm run lint && npm run transpile && tap --ts --no-coverage --no-check-coverage && pnpm run test-types","smoke:browser":"node ./browser.js","prepublishOnly":"tap --no-check-coverage test/internals/version.test.js","bench-multi-arg":"node benchmarks/utils/runbench multi-arg","bench-formatters":"node benchmarks/utils/runbench formatters","test-ci-yarn-pnp":"yarn run lint && npm run transpile && tap --ts --no-check-coverage --coverage-report=lcovonly","update-bench-doc":"node benchmarks/utils/generate-benchmark-doc > docs/benchmarks.md","bench-child-child":"node benchmarks/utils/runbench child-child","bench-deep-object":"node benchmarks/utils/runbench deep-object","bench-long-string":"node benchmarks/utils/runbench long-string","bench-child-creation":"node benchmarks/utils/runbench child-creation"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dc8a19dc-b07c-42dc-97aa-ca29b27710f1"}},"precommit":"test","repository":{"url":"git+https://github.com/pinojs/pino.git","type":"git"},"_npmVersion":"11.6.0","description":"super fast, all natural json logger","directories":{},"_nodeVersion":"22.19.0","dependencies":{"sonic-boom":"^4.0.1","fast-redact":"^3.1.1","atomic-sleep":"^1.0.0","real-require":"^0.2.0","thread-stream":"^3.0.0","process-warning":"^5.0.0","on-exit-leak-free":"^2.1.0","pino-std-serializers":"^7.0.0","safe-stable-stringify":"^2.3.1","quick-format-unescaped":"^4.0.3","pino-abstract-transport":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"log":"^6.0.0","tap":"^16.2.0","tsd":"^0.33.0","bole":"^5.0.5","jest":"^30.0.3","pump":"^3.0.0","tape":"^5.5.3","debug":"^4.3.4","execa":"^5.0.0","steed":"^1.1.3","airtap":"5.0.0","bunyan":"^1.8.14","eslint":"^8.17.0","rimraf":"^6.0.1","semver":"^7.3.7","split2":"^4.0.0","ts-node":"^10.9.1","winston":"^3.7.2","loglevel":"^1.6.7","through2":"^4.0.0","fastbench":"^1.0.1","@types/tap":"^15.0.6","pre-commit":"^1.2.2","proxyquire":"^2.1.3","strip-ansi":"^6.0.0","typescript":"~5.9.2","@types/node":"^24.0.8","docsify-cli":"^4.4.4","pino-pretty":"^13.0.0","@yao-pkg/pkg":"6.3.0","import-fresh":"^3.2.1","eslint-plugin-n":"15.7.0","midnight-smoker":"1.1.1","eslint-plugin-node":"^11.1.0","flush-write-stream":"^2.0.0","eslint-plugin-import":"^2.26.0","@arethetypeswrong/cli":"^0.18.1","eslint-plugin-promise":"^6.0.0","eslint-config-standard":"^17.0.0","@types/flush-write-stream":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/pino_9.9.3_1757079175845_0.23390951115016878","host":"s3://npm-registry-packages-npm-production"},"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) JavaScript 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* [Diagnostics ⇗](/docs/diagnostics.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## Runtimes\n\n### Node.js\n\nPino is built to run on [Node.js](http://nodejs.org).\n\n### Bare\n\nPino works on [Bare](https://github.com/holepunchto/bare) with the [`pino-bare`](https://github.com/pinojs/pino-bare) compatability module.\n\n### Pear\n\nPino works on [Pear](https://docs.pears.com), which is built on [Bare](https://github.com/holepunchto/bare), with the [`pino-bare`](https://github.com/pinojs/pino-bare) compatibility module.\n\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* [Pino with Hono](docs/web.md#hono)\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":1757079176063,"_cnpm_publish_time":1757079176063,"dist-tags":{"four":"4.17.6","latest":"10.4.0","legacy":"2.16.0","next":"7.0.0-rc.9","six":"6.14.0"}}