Registry /
database / sqlite-hello-windows-x64
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.
default
✓ import hello from 'sqlite-hello-windows-x64'
✗ const hello = require('sqlite-hello-windows-x64')
ESM-only, no default export for direct use; this package is a native addon binary, typically not imported directly.
NativeAddon
✓ import { NativeAddon } from 'sqlite-hello-windows-x64'
✗ import NativeAddon from 'sqlite-hello-windows-x64'
Named export for programmatic access; type available in TypeScript.
getBinaryPath
✓ import { getBinaryPath } from 'sqlite-hello-windows-x64'
Utility function to retrieve the path to the native binary, useful for loading with better-sqlite3.
Loads the sqlite-hello extension using better-sqlite3 and calls the hello() SQL function.
import Database from 'better-sqlite3';
import { getBinaryPath } from 'sqlite-hello-windows-x64';
const db = new Database(':memory:');
db.loadExtension(getBinaryPath());
const row = db.prepare('SELECT hello()').get();
console.log(row); // { hello: 'Hello, world!' }
db.close();
Debug
Known issues
gotchaPlatform-specific package: 'sqlite-hello-windows-x64' only works on Windows x64. For other platforms, use the corresponding package (e.g., sqlite-hello-linux-x64).fixUse sqlite-dist or manually select the correct platform package.
affects: *
deprecatedVersion 0.1.0-alpha.79 is pre-release; API may change without notice.fixPin to a specific version and test after upgrades.
affects: 0.1.0-alpha.0 - 0.1.0-alpha.79
gotchaDirect import of this package may not expose a default export; it is meant to be a binary dependency loaded via paths.fixUse the getBinaryPath export to locate the binary, do not require the module directly.
affects: *
Errors
Common errors & fixes
Cannot find module 'sqlite-hello-windows-x64'
Package not installed or wrong platform; this package is only for Windows x64.
fixEnsure you are on Windows x64 and the package is listed in dependencies. For other platforms, use the corresponding platform package.
Error: The specified module could not be found.\?\\?\\...\\sqlite-hello-windows-x64.node
The native binary is missing or corrupted.
fixReinstall the package: npm install sqlite-hello-windows-x64
Upgrade
Version history
0.1.0-alpha.79latest on npm
Audit
Dependencies
No dependency data recorded yet.