{"library":"parse-db-url","type":"library","category":null,"description":"The `parse-db-url` library is a specialized utility designed to accurately parse database connection URLs into structured configuration objects. Unlike Node.js's built-in `url.parse`, this package understands common conventions associated with various database drivers, such as 'postgres' or 'mysql', and intelligently extracts components like the adapter, host, port, database name, username, and password. A key feature is its ability to handle query-string parameters that can override earlier parts of the URL, offering flexible configuration options. The current stable version is 2.3.0. As a domain-specific parsing tool, its release cadence is slow, with the last publish being over five years ago, indicating a stable, feature-complete state primarily in maintenance mode, rather than active development. It provides a consistent interface for abstracting database connection details, simplifying multi-database application setups.","language":"javascript","status":"maintenance","version":"2.3.0","tags":["javascript","any-db","db","url"],"install":[{"cmd":"npm install parse-db-url","imports":["const parseDbUrl = require('parse-db-url');","/** @typedef {ReturnType<typeof import('parse-db-url')>} DBConfig */"]},{"cmd":"yarn add parse-db-url","imports":[]},{"cmd":"pnpm add parse-db-url","imports":[]}],"homepage":null,"github":"https://github.com/grncdr/parse-db-url","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/parse-db-url","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/parse-db-url/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Tue Jul 21","install_tag":null}}