window-postgres-installer
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

window-postgres-installer

A helper package to install Postgresql binaries on a window system.

Usage

npm i window-postgres-installer
import { 
    installPostgres,
    getPostgresBinaries,
    isPostgresInstalled 
} from 'window-postgres-installer'

async function main() {
    await installPostgres()
}

/* 
* use `getPostgresBinaries` to get the file path to the postgres binaries
* use `isPostgresInstalled` to check if the postgres binaries are installed
*/

main()

NOTE: The binaries are installed in the AppData/Roaming/node-embedded-postgres directory

Credits

This package will not be possible without zonky's embedded-postgres-binaries.

Dependents (0)

Package Sidebar

Install

npm i window-postgres-installer

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

22.3 MB

Total Files

10

Last publish

Collaborators

  • danielonyenwee