@types/pg-database-url
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

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

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/pg-database-url

Weekly Downloads

1

Version

0.1.2

License

MIT

Unpacked Size

3.16 kB

Total Files

5

Last publish

Collaborators

  • types