
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
pino-postgres
Advanced tools
Pino transport for Postgres
$ npm install pino-postgres
# or
$ yarn add pino-postgres
Usage: pino-postgres [options]
Options:
-V, --version output the version number
--connection <connection> postgres connection string
--table <name> table name (default: "logs")
--schema <name> schema name (default: "public")
--column <name> column name (default: "content")
--flush-interval <number> interval at which logs are flushed in ms (default: 5000)
--buffer-size <number> max number of log entries in buffer (default: 1000)
--max-connections <number> max number of connections (default: 3)
--ssl use ssl (default: false)
--debug debug postgres client (default: false)
--pass-through pass logs through (default: false)
--wrap-non-json wrap non-json messages as json (default: false)
-h, --help display help for command
node app.js | pino-postgres --connection postgres://username:password@localhost:5432/database
pino-postgres does not create the necessary database table, make sure the table with jsonb column exists.
Contributions, issues and feature requests are welcome!
Copyright © 2020 Aldis Ameriks.
This project is MIT licensed.
FAQs
Pino transport for Postgres
The npm package pino-postgres receives a total of 7 weekly downloads. As such, pino-postgres popularity was classified as not popular.
We found that pino-postgres demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.