Gathering detailed insights and metrics for pino
Gathering detailed insights and metrics for pino
Gathering detailed insights and metrics for pino
Gathering detailed insights and metrics for pino
npm install pino
Typescript
Module System
Node Version
NPM Version
94.4
Supply Chain
99.6
Quality
87.2
Maintenance
100
Vulnerability
100
License
JavaScript (90.97%)
TypeScript (8.38%)
HTML (0.45%)
Shell (0.2%)
Total Downloads
1,212,199,887
Last Day
529,119
Last Week
10,672,008
Last Month
45,598,368
Last Year
466,432,356
MIT License
15,630 Stars
1,867 Commits
902 Forks
83 Watchers
20 Branches
328 Contributors
Updated on Jul 06, 2025
Minified
Minified + Gzipped
Latest Version
9.7.0
Package Id
pino@9.7.0
Unpacked Size
736.15 kB
Size
236.60 kB
File Count
202
NPM Version
10.9.2
Node Version
22.15.0
Published on
May 18, 2025
Cumulative downloads
Total Downloads
Last Day
-1%
529,119
Compared to previous day
Last Week
-7.5%
10,672,008
Compared to previous week
Last Month
2.6%
45,598,368
Compared to previous month
Last Year
57.4%
466,432,356
Compared to previous year
11
40
Very low overhead Node.js logger.
Using NPM:
$ npm install pino
Using YARN:
$ yarn add pino
If you would like to install pino v6, refer to https://github.com/pinojs/pino/tree/v6.x.
1const logger = require('pino')() 2 3logger.info('hello world') 4 5const child = logger.child({ a: 'property' }) 6child.info('hello child!')
This produces:
{"level":30,"time":1531171074631,"msg":"hello world","pid":657,"hostname":"Davids-MBP-3.fritz.box"}
{"level":30,"time":1531171082399,"msg":"hello child!","pid":657,"hostname":"Davids-MBP-3.fritz.box","a":"property"}
For using Pino with a web framework see:
http
The pino-pretty
module can be used to
format logs during development:
Due to Node's single-threaded event-loop, it's highly recommended that sending, alert triggering, reformatting, and all forms of log processing are conducted in a separate process or thread.
In Pino terminology, we call all log processors "transports" and recommend that the
transports be run in a worker thread using our pino.transport
API.
For more details see our Transports⇗ document.
Using minimum resources for logging is very important. Log messages tend to get added over time and this can lead to a throttling effect on applications – such as reduced requests per second.
In many cases, Pino is over 5x faster than alternatives.
See the Benchmarks document for comparisons.
Pino supports being bundled using tools like webpack or esbuild.
See Bundling document for more information.
https://www.npmjs.com/~matteo.collina
https://twitter.com/matteocollina
https://github.com/davidmarkclements
https://www.npmjs.com/~davidmarkclements
https://twitter.com/davidmarkclem
https://www.npmjs.com/~jsumners
https://twitter.com/jsumners79
Pino is an OPEN Open Source Project. This means that:
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.
See the CONTRIBUTING.md file for more details.
This project was kindly sponsored by nearForm. This project is kindly sponsored by Platformatic.
Logo and identity designed by Cosmic Fox Design: https://www.behance.net/cosmicfox.
Licensed under MIT.
No vulnerabilities found.
Reason
15 commit(s) and 13 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 20/22 approved changesets -- score normalized to 9
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 1
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More