Installation
$ npm install monetdb
Usage
The simplest way to connect is to use the default Connection
options and pass only the database name:
import {Connection} from 'monetdb'
const opt = {database: 'test'}
const conn = new Connection(opt)
const ready = await conn.connect();
const res = await conn.execute('select 42');
console.log(res.data)
await conn.close();
See connection api for more details.