Anuj-Panthri's picture
umm
c13f601
raw
history blame contribute delete
180 Bytes
import dotenv from 'dotenv';
dotenv.config();
import database from "better-sqlite3";
const db_path = process.env.DB_NAME;
export function getDB() {
return database(db_path)
}