Socket
Book a DemoInstallSign in
Socket

@louislam/sqlite3

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@louislam/sqlite3

Asynchronous, non-blocking SQLite3 bindings

latest
Source
npmnpm
Version
15.1.6
Version published
Maintainers
1
Created
Source

node-sqlite3 with CentOS 7 support

Mainly used for my another project - Uptime Kuma

What is the different between TryGhost/node-sqlite3?

The official one is dropped the support for CentOS 7, but my fork supports CentOS 7.

If you want to build a Node.js application which can be installed on many Linux distributions like Uptime Kuma, this library should be useful.

If your application will be just designed for new Linux distributions, you probably do not need it, just use the official one.

PS: No electron supports

How to use

npm install @louislam/sqlite3
npm remove sqlite3

Replace require("@louislam/sqlite") in your source code

Documentation

https://github.com/TryGhost/node-sqlite3

(For Maintainers/Developers Only)

###Prepare Prebuilt

glibc & musl

npm run build-binaries

All files in ./build after built. Total 9 files.

glibc

  • armv7 - npm run build-linux-arm (Support glibc >=2.18 only)
  • amd64/arm64 - npm run build-linux

musl (alpine)

  • armv7/arm64/amd64 - npm run build-linux-alpine

Windows / MacOS

  • Get from Github Action

Mac ARM64 (M1/M2)

  • Get from TryGhost/node-sqlite3
  • Rename to napi-v6-darwin-arm64-unknown.tar.gz
  • Use 7zip to rename the folder inside to napi-v6-darwin-arm64

Keywords

sql

FAQs

Package last updated on 27 Mar 2023

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