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.