{"id":46482,"library":"sqlite-source","title":"sqlite-source","description":"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.","status":"active","version":"0.3510200.0-sqlite-amalgamation","language":"javascript","source_language":"en","source_url":"https://github.com/tensionlabs/sqlite-source","tags":["javascript","sqlite"],"install":[{"cmd":"npm install sqlite-source","lang":"bash","label":"npm"},{"cmd":"yarn add sqlite-source","lang":"bash","label":"yarn"},{"cmd":"pnpm add sqlite-source","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"This is not a JavaScript module; it provides C source files. Use it as a dependency for native addons.","symbol":"sqlite-source (the package itself)","correct":"npm install sqlite-source"}],"quickstart":{"code":"// This package provides SQLite amalgamation C source files, not a JS module.\n// Typically used as a dependency in binding.gyp or CMakeLists.txt.\n// Example binding.gyp snippet:\n{\n  'targets': [\n    {\n      'sources': [ '<(node_modules)/sqlite-source/sqlite3.c' ]\n    }\n  ]\n}","lang":"javascript","description":"Shows how to reference the SQLite amalgamation source in a Node.js native addon build."},"warnings":[{"fix":"Only use as a dependency for C/C++ compilation (e.g., via node-gyp).","message":"The package is not a JavaScript module; it cannot be required or imported in JS code.","severity":"gotcha","affected_versions":"all"},{"fix":"Check the npm page for exact version mapping. Example: 0.3510200.0-sqlite-amalgamation corresponds to SQLite 3.51.0.","message":"Version numbers follow the SQLite version but include a '0.' prefix and '-sqlite-amalgamation' suffix.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'0.3510200.0':23 '3.51.0':29 'addon':39 'allow':37 'amalgam':12,26 'bundl':27 'c':15,67 'c/c':42 'depend':21,45 'differenti':62 'file':17 'integr':75 'javascript':76 'key':61 'new':57 'node.js':38 'npm':20,35,52,71 'packag':8,9,31,72 'project':43 'provid':64 'publish':33 'releas':59 'singl':14 'sourc':3,7,16,68 'specif':48 'sqlite':2,6,11,25,28,49,58,65,77 'sqlite-amalgam':24 'sqlite-sourc':1,5 'toolchain':74 'updat':54 'version':22,50 'via':51","created_at":"2026-06-07T13:00:08.298731+00:00","updated_at":"2026-06-07T13:00:08.298731+00:00","problems":[{"fix":"This is not a JS module; use as a dependency for C/C++ builds only.","cause":"Trying to require() the package as a JavaScript module.","error":"Error: Cannot find module 'sqlite-source'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/tensionlabs/sqlite-source#readme","github":"https://github.com/tensionlabs/sqlite-source","docs":null,"changelog":null,"pypi":null,"npm":"sqlite-source","openapi_spec":null,"status_page":null,"smithery":null,"categories":["database"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-07","next_check":"2026-09-05","install_tag":null}}