npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

sqlite3-lite

v2020.8.19

Published

this zero-dependency package will provide pre-built version of node-sqlite3 (v5.0.0)

Readme

sqlite3-lite

this zero-dependency package will provide pre-built version of node-sqlite3 (v5.0.0)

live web demo

  • none

travis-ci.com build-status coverage

NPM

build commit status

| git-branch : | master | beta | alpha| |--:|:--|:--|:--| | test-report : | test-report | test-report | test-report| | coverage : | coverage | coverage | coverage| | build-artifacts : | build-artifacts | build-artifacts | build-artifacts|

npmPackageListing

npmPackageDependencyTree

table of contents

  1. cdn download
  2. documentation
  3. quickstart example.js
  4. extra screenshots
  5. package.json
  6. changelog of last 50 commits
  7. internal build script
  8. misc

cdn download

  • none

documentation

api doc

apidoc

cli help

screenshot

changelog 2020.8.19

  • include trace
  • update build
  • none

todo

  • none

quickstart example.js

to run this example, follow instruction in script below

/*
example.js

this script will run node-demo of sqlite3-lite

instruction
    1. save this script as example.js
    2. run shell-command:
        $ npm install sqlite3-lite && \
            PORT=8081 node example.js
    3. edit this script to suit your needs
*/


/* istanbul instrument in package sqlite3 */
/* jslint utility2:true */
/* istanbul ignore next */
// run shared js-env code - init-local
(function () {
    "use strict";
    let db;
    let sqlite3;
    sqlite3 = (
        globalThis.utility2_rollup
        || globalThis.utility2_jslint
        || require("sqlite3-lite")
    );
    db = new sqlite3.Database(":memory:");
    db.serialize(function () {
        let ii;
        let stmt;
        db.run("CREATE TABLE lorem (info TEXT)");
        stmt = db.prepare("INSERT INTO lorem VALUES (?)");
        ii = 0;
        while (ii < 10) {
            stmt.run("Ipsum " + ii);
            ii += 1;
        }
        stmt.finalize();
        db.each("SELECT rowid AS id, info FROM lorem", function (err, row) {
            if (err) {
                throw err;
            }
            console.log(row.id + ": " + row.info);
        });
    });
    db.close();
}());

output from shell

screenshot

extra screenshots

  1. https://kaizhu256.github.io/node-sqlite3-lite/build/screenshot.buildCi.browser.%252F.tmp%252Fbuild%252Fapidoc.html.png screenshot

  2. https://kaizhu256.github.io/node-sqlite3-lite/build/screenshot.buildCi.browser.%252F.tmp%252Fbuild%252Fcoverage.lib.html.png screenshot

  3. https://kaizhu256.github.io/node-sqlite3-lite/build/screenshot.buildCi.browser.%252F.tmp%252Fbuild%252Ftest-report.html.png screenshot

package.json

{
    "!!jslint_utility2": true,
    "author": "kai zhu <[email protected]>",
    "description": "this zero-dependency package will provide pre-built version of node-sqlite3 (v5.0.0)",
    "devDependencies": {
        "utility2": "kaizhu256/node-utility2#alpha"
    },
    "engines": {
        "node": ">=12.0"
    },
    "fileCount": 8,
    "homepage": "https://github.com/kaizhu256/node-sqlite3-lite",
    "keywords": [
        "sql",
        "sqlite",
        "sqlite3",
        "database"
    ],
    "license": "MIT",
    "main": "lib.sqlite3.js",
    "name": "sqlite3-lite",
    "nameAliasPublish": "",
    "nameLib": "sqlite3",
    "nameOriginal": "sqlite3-lite",
    "repository": {
        "type": "git",
        "url": "https://github.com/kaizhu256/node-sqlite3-lite.git"
    },
    "scripts": {
        "build-ci": "./npm_scripts.sh",
        "env": "env",
        "eval": "./npm_scripts.sh",
        "heroku-postbuild": "./npm_scripts.sh",
        "postinstall": "./npm_scripts.sh",
        "start": "./npm_scripts.sh",
        "test": "./npm_scripts.sh",
        "utility2": "./npm_scripts.sh"
    },
    "version": "2020.8.19"
}

changelog of last 50 commits

screenshot

internal build script

  • build_ci.sh
# build_ci.sh

# this shell script will run build-ci for this package

shBuildCiAfter () {(set -e
    shDeployCustom
    # shDeployGithub
    # shDeployHeroku
    shReadmeTest example.sh
)}

shBuildCiBefore () {(set -e
    shNpmTestPublished
    shReadmeTest example.js
)}

# run shBuildCi
eval "$(utility2 source)"
shBuildCi

misc