SQLite extension for making HTTP requests, distributed as an NPM package for Node.js developers. Current stable version: 0.1.1 (platform-specific precompiled binaries for darwin-x64, win32-x64, linux-x64). Release cadence: irregular, maintained by asg017. Key differentiator: allows SQL queries to fetch URLs directly, enabling in-database API integration without external HTTP libraries. Requires a SQLite client like better-sqlite3 or node-sqlite3 to load the extension.
npm install sqlite-httpNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Load the sqlite-http extension in better-sqlite3, then use http_get() to fetch content from a URL and store it in a table.
Check process.platform and process.arch; use a compatible build or run on a supported platform.
Ensure installation succeeded and platform matches; catch error and handle gracefully.
Always call db.loadExtension(sqlite_http.getLoadablePath()) before using any http_* SQL functions.
Add a .d.ts file: declare module 'sqlite-http' { export function getLoadablePath(): string; }Ensure you are on a supported platform (darwin-x64, win32-x64, linux-x64). Reinstall with --force or try rebuilding.
Use import * as sqlite_http from 'sqlite-http';
Enable extension loading in client options: new Database(':memory:', { nativeBinding: ... }) or upgrade client.Run npm install sqlite-http. For TypeScript, add a .d.ts file with module declaration.