Socket
Socket
Sign inDemoInstall

database-js-ini

Package Overview
Dependencies
2
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    database-js-ini

database-js wrapper for INI files


Version published
Weekly downloads
1
Maintainers
1
Install size
274 kB
Created
Weekly downloads
 

Readme

Source

database-js-ini

database-js-firebase

Build Status

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();
    }
})();

Keywords

FAQs

Last updated on 29 Jan 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc