0.0.1 • Published 6 years ago

postgoose v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Postgoose

   ___          _                              __  __    
  / _ \___  ___| |_ __ _  ___   ___  ___  ___  \ \/ _\   
 / /_)/ _ \/ __| __/ _` |/ _ \ / _ \/ __|/ _ \  \ \ \    
/ ___/ (_) \__ \ || (_| | (_) | (_) \__ \  __/\_/ /\ \   
\/    \___/|___/\__\__, |\___/ \___/|___/\___\___/\__/   
                   |___/                                 

Mongoose-like postgresql library. Minimalistic database feature for the moment :

  • CRUD
  • some hooks

### Install

npm i postgoose

Connect to the database

const conf = {
  "host"     : "localhost",
  "port"     : 5432,
  "database" : "testdb",
  "user"     : "root",
  "password" : "root"
}

postgoose.connect(conf, () => {
  console.log('connected !');
})

### Copyright

LICENCE MIT

Copyright(c) 2018 Alexandre PENOMBRE <aluzed_AT_gmail.com>