{"id":18408265,"url":"https://github.com/lffg-labs/rm-pg-dbs","last_synced_at":"2025-04-12T21:43:18.094Z","repository":{"id":47920023,"uuid":"232483312","full_name":"lffg-labs/rm-pg-dbs","owner":"lffg-labs","description":"🐘 Drop PostgreSQL databases—in bulk, as you select.","archived":false,"fork":false,"pushed_at":"2022-02-12T22:14:22.000Z","size":278,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-12T21:42:36.176Z","etag":null,"topics":["cli","drop-database","postgresql-manager"],"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/lffg-labs.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}},"created_at":"2020-01-08T05:14:26.000Z","updated_at":"2023-02-15T23:09:07.000Z","dependencies_parsed_at":"2022-08-12T14:10:45.915Z","dependency_job_id":null,"html_url":"https://github.com/lffg-labs/rm-pg-dbs","commit_stats":null,"previous_names":["lffg/rm-pg-dbs"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lffg-labs%2Frm-pg-dbs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lffg-labs%2Frm-pg-dbs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lffg-labs%2Frm-pg-dbs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lffg-labs%2Frm-pg-dbs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lffg-labs","download_url":"https://codeload.github.com/lffg-labs/rm-pg-dbs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248637833,"owners_count":21137538,"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":["cli","drop-database","postgresql-manager"],"created_at":"2024-11-06T03:18:04.605Z","updated_at":"2025-04-12T21:43:18.068Z","avatar_url":"https://github.com/lffg-labs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🐘 `rm-pg-dbs`\n\n[![NPM](https://img.shields.io/npm/v/@lffg-scripts/rm-pg-dbs.svg?logo=npm)](https://www.npmjs.com/package/@lffg-scripts/rm-pg-dbs)\n\nDrop PostgreSQL databases—in bulk, **as you select**.  \n[Watch an introduction video here.](https://www.youtube.com/watch?v=9qz3EuNMDfU)\n\n```\nyarn global add @lffg-scripts/rm-pg-dbs\n```\n\nAnd run it via:\n\n```\nrm-pg-dbs\n```\n\nBe default, this CLI will connect to the `localhost:5432` PostgreSQL database as `postgres` user with `postgres` password. The default database which will be connected is `postgres`.\n\nYou can override the default connection options with the following environment variables:\n\n- `PGHOST`;\n- `PGPORT`;\n- `PGUSER`;\n- `PGPASSWORD`;\n- `PGDATABASE`.\n\nYou can set the `ALLOW_ANY_DROP` environment variable to `true` to enable the deletion of the `postgres`, `\u003cyour-os-username\u003e`, `template1` and `template0` databases, which are filtered out of the selection list by default. You should not do this, though.\n\n---\n\nLicense MIT.  \nCopyright \u0026copy; [Luiz Felipe Gonçalves](https://luizfelipe.dev).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flffg-labs%2Frm-pg-dbs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flffg-labs%2Frm-pg-dbs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flffg-labs%2Frm-pg-dbs/lists"}