New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

posq-sqlite3

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

posq-sqlite3

Bundled SQLite3 library for offline environments

latest
npmnpm
Version
3.2.0
Version published
Maintainers
1
Created
Source

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

Supported NodeJS Release

  • Node.js v8
  • Node.js v7
  • Node.js v6
  • Node.js v5
  • Node.js v4

License

BSD © Mapbox

Keywords

sqlite3

FAQs

Package last updated on 30 Oct 2019

Did you know?

Socket

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