{"id":21665851,"url":"https://github.com/aldis-ameriks/pino-postgres","last_synced_at":"2025-04-12T01:02:31.451Z","repository":{"id":54365936,"uuid":"291230967","full_name":"aldis-ameriks/pino-postgres","owner":"aldis-ameriks","description":"Pino transport for Postgres","archived":false,"fork":false,"pushed_at":"2024-06-05T16:47:06.000Z","size":50,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T20:45:32.622Z","etag":null,"topics":["logs","node","pino","postgres","postgresql","transport"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aldis-ameriks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-08-29T08:20:31.000Z","updated_at":"2024-12-22T08:50:53.000Z","dependencies_parsed_at":"2024-04-12T15:46:03.059Z","dependency_job_id":null,"html_url":"https://github.com/aldis-ameriks/pino-postgres","commit_stats":{"total_commits":82,"total_committers":3,"mean_commits":"27.333333333333332","dds":0.07317073170731703,"last_synced_commit":"852a798896718199fdc3701379eaf439ca17476e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aldis-ameriks%2Fpino-postgres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aldis-ameriks%2Fpino-postgres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aldis-ameriks%2Fpino-postgres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aldis-ameriks%2Fpino-postgres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aldis-ameriks","download_url":"https://codeload.github.com/aldis-ameriks/pino-postgres/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248501873,"owners_count":21114683,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["logs","node","pino","postgres","postgresql","transport"],"created_at":"2024-11-25T11:18:08.469Z","updated_at":"2025-04-12T01:02:31.412Z","avatar_url":"https://github.com/aldis-ameriks.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eWelcome to pino-postgres 👋\u003c/h1\u003e\n\u003cp\u003e\n    \u003ca href=\"https://www.npmjs.com/package/pino-postgres\" target=\"_blank\"\u003e\n        \u003cimg alt=\"Version\" src=\"https://img.shields.io/npm/v/pino-postgres.svg\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003e Pino transport for Postgres\n\n## Install\n\n```sh\n$ npm install pino-postgres\n# or\n$ yarn add pino-postgres\n```\n\n## Usage\n\n```\nUsage: pino-postgres [options]\n\nOptions:\n  -V, --version               output the version number\n  --connection \u003cconnection\u003e   postgres connection string\n  --table \u003cname\u003e              table name (default: \"logs\")\n  --schema \u003cname\u003e             schema name (default: \"public\")\n  --column \u003cname\u003e             column name (default: \"content\")\n  --flush-interval \u003cnumber\u003e   interval at which logs are flushed in ms (default: 5000)\n  --buffer-size \u003cnumber\u003e      max number of log entries in buffer (default: 1000)\n  --max-connections \u003cnumber\u003e  max number of connections (default: 3)\n  --ssl                       use ssl (default: false)\n  --debug                     debug postgres client (default: false)\n  --pass-through              pass logs through (default: false)\n  --wrap-non-json             wrap non-json messages as json (default: false)\n  -h, --help                  display help for command\n```\n\n```\nnode app.js | pino-postgres --connection postgres://username:password@localhost:5432/database\n```\n\n\u003e pino-postgres does not create the necessary database table, make sure the table with jsonb column exists.\n\n## Contributing\n\nContributions, issues and feature requests are welcome!\n\n## License\n\nCopyright © 2020 [Aldis Ameriks](https://github.com/aldis-ameriks).\u003cbr /\u003e\nThis project is [MIT](https://github.com/aldis-ameriks/pino-postgres/blob/master/LICENSE) licensed.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faldis-ameriks%2Fpino-postgres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faldis-ameriks%2Fpino-postgres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faldis-ameriks%2Fpino-postgres/lists"}