
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
@node-ts/logger-pino
Advanced tools
A Pino implementation for logger.
Install the package and its dependenceis
npm i @node-ts/logger-pino @node-ts/logger-core
Load the modules during application startup in inversify:
import { Container } from 'inversify'
import { LoggerModule } from '@node-ts/logger-core'
import { PinoModule } from '@node-ts/logger-pino'
// ...
const container = new Container()
container.load(new LoggerModule())
container.load(new PinoModule())
To configure the pino logger instances, provide your own PinoConfiguration implementation, ie:
@injectable()
export class CustomPinoConfiguration implements PinoConfiguration {
getConfiguration (loggerName: string): pino.LoggerOptions {
return {
enabled: true,
level: 'info',
prettyPrint: false,
serializers: noir
....
}
}
}
Then to use it, rebind the PINO_SYMBOLS.PinoConfiguration symbol on your application startup:
import { ContainerModule } from 'inversify'
import { CustomWinstonConfiguration } from './custom-winston-configuration'
import { PINO_SYMBOLS } from '@node-ts/logger-pino'
export class ApplicationModule extends ContainerModule {
constructor () {
super((_, __, ___, rebind) => {
rebind(PINO_SYMBOLS.PinoConfiguration).to(CustomPinoConfiguration)
})
}
}
FAQs
A pino adapter for @node-ts/logger
The npm package @node-ts/logger-pino receives a total of 5 weekly downloads. As such, @node-ts/logger-pino popularity was classified as not popular.
We found that @node-ts/logger-pino demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.