# @types/pg-database-url

> TypeScript definitions for pg-database-url

Latest version **0.1.2** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/pg-database-url
pnpm add @types/pg-database-url
yarn add @types/pg-database-url
bun add @types/pg-database-url
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2023-11-07 |
| First published | 2022-01-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/pg-database-url
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pg-database-url
- npm.io page: https://npm.io/package/@types/pg-database-url

## Recent versions

- 0.1.2 (latest) — 2023-11-07
- 0.1.0 (ts3.8) — 2022-01-18
- 0.1.1 — 2023-10-18

## README

# Installation
> `npm install --save @types/pg-database-url`

# Summary
This package contains type definitions for pg-database-url (https://github.com/mediasuitenz/pg-database-url).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pg-database-url.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pg-database-url/index.d.ts)
````ts
declare namespace pgDatabaseUrl {
    interface Config {
        database: string;
        host?: string;
        password?: string;
        port?: number;
        username: string;
    }
}

declare function pgDatabaseUrl(config: pgDatabaseUrl.Config): string;

export = pgDatabaseUrl;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [Todd Dukart](https://github.com/tdukart).

---
_Source: https://npm.io/package/@types/pg-database-url · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
