Registry / database / sqlite-source

sqlite-source

JSON →
library0.3510200.0-sqlite-amalgamationjsnpmunverified

The sqlite-source package packages the SQLite amalgamation (a single C source file) as an npm dependency. Version 0.3510200.0-sqlite-amalgamation bundles SQLite 3.51.0. This package is published to npm to allow Node.js addons or other C/C++ projects to depend on a specific SQLite version via npm. It updates with each new SQLite release. The key differentiator is providing SQLite's C source as an npm package for toolchain integration.

npm install sqlite-source
INSTALL
IMPORT
SIG · SQLITE-SOURCE
S
sqlite-source
databasejavascriptv0.3510200.0-sqlite-amalgamation
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

sqlite-source (the package itself)
npm install sqlite-source
This is not a JavaScript module; it provides C source files. Use it as a dependency for native addons.

Shows how to reference the SQLite amalgamation source in a Node.js native addon build.

// This package provides SQLite amalgamation C source files, not a JS module. // Typically used as a dependency in binding.gyp or CMakeLists.txt. // Example binding.gyp snippet: { 'targets': [ { 'sources': [ '<(node_modules)/sqlite-source/sqlite3.c' ] } ] }
Debug
Known issues
gotchaThe package is not a JavaScript module; it cannot be required or imported in JS code.
fix
Only use as a dependency for C/C++ compilation (e.g., via node-gyp).
affects: all
gotchaVersion numbers follow the SQLite version but include a '0.' prefix and '-sqlite-amalgamation' suffix.
fix
Check the npm page for exact version mapping. Example: 0.3510200.0-sqlite-amalgamation corresponds to SQLite 3.51.0.
affects: all
Errors
Common errors & fixes
Error: Cannot find module 'sqlite-source'
Trying to require() the package as a JavaScript module.
fix
This is not a JS module; use as a dependency for C/C++ builds only.
Upgrade
Version history
0.3510200.0-sqlite-amalgamationlatest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Meta
1
OpenAI (training)
1
Resources
sqlite-source — npm install sqlite-source · libregistry