Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Mar 13, 2024 via pnpm

sqlite3 5.1.6

Asynchronous, non-blocking SQLite3 bindings
Package summary
Share
5
issues
2
high severity
meta
2
3
moderate severity
meta
3
5
licenses
54
MIT
47
ISC
3
BSD-3-Clause
3
other licenses
BSD-2-Clause
2
Apache-2.0
1
Package created
24 Feb 2011
Version published
14 Mar 2023
Maintainers
9
Total deps
107
Direct deps
4
License
BSD-3-Clause

Issues

5

2 high severity issues

high
via: node-gyp@8.4.1
via: sqlite3@5.1.6
Collapse
Expand

3 moderate severity issues

moderate
via: node-gyp@8.4.1
via: node-gyp@8.4.1
via: node-gyp@8.4.1
Collapse
Expand

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
54 Packages, Including:
@gar/promisify@1.1.3
@npmcli/move-file@1.1.2
@tootallnate/once@1.1.2
agent-base@6.0.2
agentkeepalive@4.5.0
aggregate-error@3.1.0
ansi-regex@5.0.1
balanced-match@1.0.2
brace-expansion@1.1.11
clean-stack@2.2.0
concat-map@0.0.1
debug@4.3.4
delegates@1.0.0
emoji-regex@8.0.0
encoding@0.1.13
env-paths@2.2.1
err-code@2.0.3
http-proxy-agent@4.0.1
https-proxy-agent@5.0.1
humanize-ms@1.2.1
iconv-lite@0.6.3
imurmurhash@0.1.4
indent-string@4.0.0
ip-address@9.0.5
is-fullwidth-code-point@3.0.0
is-lambda@1.0.1
jsbn@1.1.0
make-dir@3.1.0
minipass-fetch@1.4.1
minizlib@2.1.2
mkdirp@1.0.4
ms@2.1.2
ms@2.1.3
negotiator@0.6.3
node-addon-api@4.3.0
node-fetch@2.7.0
node-gyp@8.4.1
object-assign@4.1.1
p-map@4.0.0
path-is-absolute@1.0.1
promise-retry@2.0.1
readable-stream@3.6.2
retry@0.12.0
safe-buffer@5.2.1
safer-buffer@2.1.2
smart-buffer@4.2.0
socks-proxy-agent@6.2.1
socks@2.8.1
string-width@4.2.3
string_decoder@1.3.0

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
47 Packages, Including:
@npmcli/fs@1.1.1
abbrev@1.1.1
aproba@2.0.0
are-we-there-yet@2.0.0
are-we-there-yet@3.0.1
cacache@15.3.0
chownr@2.0.0
color-support@1.1.3
console-control-strings@1.1.0
fs-minipass@2.1.0
fs.realpath@1.0.0
gauge@3.0.2
gauge@4.0.4
glob@7.2.3
graceful-fs@4.2.11
has-unicode@2.0.1
infer-owner@1.0.4
inflight@1.0.6
inherits@2.0.4
isexe@2.0.0
lru-cache@6.0.0
make-fetch-happen@9.1.0
minimatch@3.1.2
minipass-collect@1.0.2
minipass-flush@1.0.5
minipass-pipeline@1.2.4
minipass-sized@1.0.3
minipass@3.3.6
minipass@5.0.0
nopt@5.0.0
npmlog@5.0.1
npmlog@6.0.2
once@1.4.0
promise-inflight@1.0.1
rimraf@3.0.2
semver@6.3.1
semver@7.6.0
set-blocking@2.0.0
signal-exit@3.0.7
ssri@8.0.1
tar@6.2.0
unique-filename@1.1.1
unique-slug@2.0.2
which@2.0.2
wide-align@1.1.5
wrappy@1.0.2
yallist@4.0.0

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
3 Packages, Including:
@mapbox/node-pre-gyp@1.0.11
sprintf-js@1.1.3
sqlite3@5.1.6

BSD 2-Clause "Simplified" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
hold-liable
Must
include-copyright
include-license
2 Packages, Including:
http-cache-semantics@4.1.1
webidl-conversions@3.0.1

Apache License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
use-patent-claims
place-warranty
Cannot
hold-liable
use-trademark
Must
include-copyright
include-license
state-changes
include-notice
1 Packages, Including:
detect-libc@2.0.2
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

4
All Dependencies CSV
β“˜ This is a list of sqlite3 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
@mapbox/node-pre-gyp1.0.111 BBSD-3-Clause
prod
node-addon-api4.3.056.1 kBMIT
prod
node-gyp8.4.1436.59 kBMIT
prod optional
1
3
tar6.2.041.43 kBISC
prod optional

Visualizations

Frequently Asked Questions

What does sqlite3 do?

SQLite3 is an npm package that allows Node.js applications to interface with the SQLite database. It offers asynchronous, non-blocking bindings for SQLite3, which means it doesn't block the Node.js event loop. SQLite3 covers a range of features such as easy query and parameter binding interface, full Buffer/Blob support, extensive debugging support, a Query serialization API, and extension support.

How do you use sqlite3?

To use SQLite3 in your application, you first need to install it via npm or yarn. You can install the latest published package by running npm install sqlite3 or yarn add sqlite3. Following the installation, you can require it in your code and use SQLite3 to interact with your database. Below is an example of how to use the SQLite3 package:

const sqlite3 = require('sqlite3').verbose();
const db = new sqlite3.Database(':memory:');

db.serialize(() => {
    db.run("CREATE TABLE lorem (info TEXT)");

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

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

db.close();

In this code snippet, a new SQLite3 database is created in memory. A table named "lorem" is then created in the database, and ten rows are inserted into the table. Finally, every row in the "lorem" table is selected and logged to the console.

Where are the sqlite3 docs?

The documentation for SQLite3 can be found on its API documentation page in the GitHub wiki. It provides detailed information about its API that lets the developers understand how to use SQLite3 effectively.