@tamu-dor/famis-db
v2.0.5
Published
DB library for FAMIS database
Downloads
190
Readme
FAMIS DB API
Installation
npm install @tamu-dor/famis-db
Usage
import FamisDb from '@tamu-dor/famis-db'
const famisdb = new FAMISDb({
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