{"library":"ts-parse-database-url","type":"library","category":null,"description":"ts-parse-database-url is a lightweight TypeScript-first utility designed to parse database connection URLs into their distinct components, such as driver, user, host, port, and database name. It provides a structured object output, simplifying the extraction and utilization of individual connection parameters. As of version 1.0.3, the package is stable and maintains a focused scope, primarily supporting common database URL formats. Due to its specific utility nature, major releases are infrequent, with updates generally consisting of bug fixes or enhancements to driver support. Its key differentiator is its native TypeScript support, which ensures type safety for the parsed output, making it highly suitable for modern TypeScript applications that retrieve database configurations from environment variables or other dynamic sources. The library draws inspiration from `node-parse-database-url` but is rebuilt with an emphasis on modern TypeScript practices and explicit type definitions.","language":"javascript","status":"active","version":"1.0.3","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install ts-parse-database-url","imports":["import parseDatabaseUrl from 'ts-parse-database-url';","import type { ParseResult } from 'ts-parse-database-url';"]},{"cmd":"yarn add ts-parse-database-url","imports":[]},{"cmd":"pnpm add ts-parse-database-url","imports":[]}],"homepage":null,"github":"https://github.com/herlon214/ts-parse-database-url","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/ts-parse-database-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/ts-parse-database-url/compatibility"}}