Package Exports
- sqlite3-offline
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sqlite3-offline) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
SQLite3 for offline
Bundled library for SQLite3 for offline deployments.
Zero dependencies, zero external HTTP downloads.
Install
$ npm install --save sqlite3-offlineQuickstart
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