@tamu-dor/people-db

2.0.2 • Public • Published

People DB API

Installation

npm install @tamu-dor/people-db

Usage

import PeopleDb from '@tamu-dor/people-db'

const peopledb = new PeopleDb({
  host: 'localhost',
  user: 'username',
  password: 'password',
  database: 'dbname',
});

Configuration

{
  host: 'localhost',
  user: 'username',
  password: 'password',
  database: 'dbname',
}
  • host = [string] host name of database server
  • user = [string] username to access database
  • password = [string] password to access database
  • database = [string] name of database

API

API Documentation

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @tamu-dor/people-db

    Weekly Downloads

    1

    Version

    2.0.2

    License

    ISC

    Unpacked Size

    1.61 MB

    Total Files

    35

    Last publish

    Collaborators

    • mattvoss