4.3.1 • Published 5 years ago

sqlite3-offline v4.3.1

Weekly downloads
58
License
MIT
Repository
-
Last release
5 years ago

SQLite3 for offline

Build Status npm version MIT licensed

Standard - JavaScript Style Guide

Bundled library for SQLite3 for offline deployments.

Zero dependencies, zero external HTTP downloads.

Install

$ npm install --save sqlite3-offline

Quickstart

const sqlite3 = require('sqlite3-offline').verbose()
var db = new sqlite3.Database(':memory:')

db.serialize(function() {
  db.run("CREATE TABLE lorem (info TEXT)")

  var stmt = db.prepare("INSERT INTO lorem VALUES (?)")
  for (var i = 0; i < 10; i++) {
    stmt.run("Ipsum " + i)
  }
  stmt.finalize()

  db.each("SELECT rowid AS id, info FROM lorem", function(err, row) {
    console.log(row.id + ": " + row.info)
  })
})

db.close()

Supported Platforms

  • Windows x64 & ia32
  • MacOSX x64
  • Linux x64
  • Electron
    • v1.5
    • v1.6
    • v1.7
    • v8.2

Supported NodeJS Release

  • Node.js v13 (79)
  • Node.js v12 (72)
  • Node.js v11 (69)
  • Node.js v10 (64)
  • Node.js v9 (59)
  • Node.js v8
  • Node.js v7
  • Node.js v6
  • Node.js v5
  • Node.js v4

Related

License

BSD © Mapbox

4.3.1

5 years ago

4.3.0

5 years ago

4.2.0

5 years ago

4.0.6

6 years ago

3.2.0

8 years ago

3.1.8-5

8 years ago

3.1.8-4

8 years ago

3.1.8-3

8 years ago

3.1.8-2

8 years ago

3.1.8-1

8 years ago

3.1.8-0

8 years ago

3.1.18

8 years ago

3.1.17

8 years ago

3.1.16

8 years ago

3.1.15

8 years ago

3.1.14

8 years ago

3.1.13

8 years ago

3.1.12

8 years ago

3.1.11

8 years ago

3.1.10

8 years ago

3.1.9

8 years ago

3.1.8-beta2

8 years ago

3.1.8-beta1

8 years ago

3.1.8

8 years ago

0.1.0

8 years ago