npm install @tamu-dor/people-db
import PeopleDb from '@tamu-dor/people-db'
const peopledb = new PeopleDb({
host: 'localhost',
user: 'username',
password: 'password',
database: 'dbname',
});
{
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