0.1.2 • Published 1 year ago

window-postgres-installer v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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.

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago