Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 17, 2024 via pnpm

pino 8.15.1

super fast, all natural json logger
Package summary
Share
0
issues
3
licenses
21
MIT
1
BSD-3-Clause
1
ISC
Package created
21 Feb 2016
Version published
8 Sep 2023
Maintainers
4
Total deps
23
Direct deps
11
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
21 Packages, Including:
abort-controller@3.0.0
atomic-sleep@1.0.0
base64-js@1.5.1
buffer@6.0.3
event-target-shim@5.0.1
events@3.3.0
fast-redact@3.5.0
on-exit-leak-free@2.1.2
pino-abstract-transport@1.1.0
pino-std-serializers@6.2.2
pino@8.15.1
process-warning@2.3.2
process@0.11.10
quick-format-unescaped@4.0.4
readable-stream@4.5.2
real-require@0.2.0
safe-buffer@5.2.1
safe-stable-stringify@2.4.3
sonic-boom@3.8.1
string_decoder@1.3.0
thread-stream@2.7.0

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
ieee754@1.2.1

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
split2@4.2.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

11
All Dependencies CSV
β“˜ This is a list of pino 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
atomic-sleep1.0.02.76 kBMIT
prod
fast-redact3.5.090.49 kBMIT
prod
on-exit-leak-free2.1.23.57 kBMIT
prod
pino-abstract-transport1.1.06.04 kBMIT
prod
pino-std-serializers6.2.29.88 kBMIT
prod
process-warning2.3.26.37 kBMIT
prod
quick-format-unescaped4.0.43.97 kBMIT
prod
real-require0.2.02.33 kBMIT
prod
safe-stable-stringify2.4.36.97 kBMIT
prod
sonic-boom3.8.181.01 kBMIT
prod
thread-stream2.7.067.87 kBMIT
prod

Visualizations

Frequently Asked Questions

What does pino do?

Pino is a high-performance Node.js logging library known for its very low overhead. it's designed to be the fastest logger for Node.js with JSON outputs and offers extreme efficiency. Pino aims to provide the lowest cost, nearest to zero impact, logging experience for modern Node.js applications to ensure application speed is paramount. The usage of Pino can result in over 5x faster logging process than alternatives, making it a go-to choice for performance-conscious developers.

How do you use pino?

To use Pino in your application, first, you need to install it. If you're using the npm package manager, the installation can be done using the command npm install pino. If you're a Yarn user, you can use the command yarn add pino. After successfully installing Pino, you then require and instantiate it in your code. Here is a basic example of using Pino in your JavaScript code:

const logger = require('pino')()
logger.info('Hello world')

const child = logger.child({ a: 'property' })
child.info('Hello child!')

The example above will output two log lines, with the second line having an additional key-value pair "a:property". Pino supports child loggers which can be helpful for namespacing logs or adding additional data to all logs produced through the child logger.

Pino also offers integration with multiple web frameworks including Fastify, Express, Hapi, Restify, Koa, Node core http, and Nest.

Where are the pino docs?

The Pino documentation provides a comprehensive guide and reference to its features and capabilities. The docs include information about benchmarks, APIs, usage in the browser, redaction, child loggers, transports, integration with web frameworks, pretty printing, asynchronous logging, and more. You can access the Pino documentation via their Github repository at git+https://github.com/pinojs/pino.git and navigate to their "docs" folder.