National Poetry Month

    awe-sqlite3

    0.0.5 • Public • Published

    Awe SQLite3

    Awe SQlite3 is pure C implementation database connection provide pure async/await SQLite3 C API function invokation.

    Example usage:

        import { open, exec, close } from 'awe-sqlite3';
    
        const conn1 = await open()
        await exec(conn1, "CREATE TABLE contacts (" +
          "contact_id INTEGER PRIMARY KEY, " +
          "first_name TEXT NOT NULL" +
          ");");
        const code = await exec(conn1, `INSERT INTO contacts (contact_id, first_name) VALUES (${i}, 'user_${i}')`);
        console.log(code);
        await close(conn1);
    

    Install

    npm i awe-sqlite3

    DownloadsWeekly Downloads

    16

    Version

    0.0.5

    License

    MIT

    Unpacked Size

    16.5 kB

    Total Files

    11

    Last publish

    Collaborators

    • vit1251