database-js-ini
database-js-firebase
Database-js Wrapper for INI files
About
Database-js-mysql is a wrapper around the mysql package by Doug Wilson. It is intended to be used with the database-js package. However it can also be used in stand alone mode. The only reason to do that would be to use Promises.
Usage
var Database = require('database-js2').Connection;
(async () => {
let connection, statement, rows;
connection = new Database('database-js-ini:///test.ini');
try {
statement = await connection.prepareStatement("SELECT * FROM ROOT");
rows = await statement.query();
console.log(rows);
} catch (error) {
console.log(error);
} finally {
await connection.close();
}
})();