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

0.1.0 • 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

// Type definitions for pg-database-url 0.1
// Project: https://github.com/mediasuitenz/pg-database-url
// Definitions by: Todd Dukart <https://github.com/tdukart>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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, 18 Jan 2022 21:31:30 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Todd Dukart.

Keywords

none

Install

npm i @types/pg-database-url

DownloadsWeekly Downloads

3

Version

0.1.0

License

MIT

Unpacked Size

3.65 kB

Total Files

4

Last publish

Collaborators

  • types