0.1.2 • Published 6 months ago

@types/pg-database-url v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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.

0.1.2

6 months ago

0.1.1

7 months ago

0.1.0

2 years ago