Registry / database / most-data-sqlite

most-data-sqlite

JSON →
library0.1.16jsnpmunverified

SQLite adapter for the MOST Web Framework, providing database connectivity for MVC applications. Version 0.1.16 is current with no stable release cadence. Requires manual compilation of a regex extension (C source) for SQLite. Adapter is configured via app.json with adapter types and instances. Suitable for Node.js projects using the MOST framework with local SQLite databases. No alternative adapter comparisons available due to limited ecosystem.

npm install most-data-sqlite
INSTALL
IMPORT
SIG · MOST-DATA-SQLITE
M
most-data-sqlite
databasejavascriptv0.1.16
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 Data Adapter
Define in app.json: { "name":"SQLite Data Adapter", "invariantName": "sqlite", "type":"most-data-sqlite" }
Using require('most-data-sqlite') directly
Adapter is not imported directly; registered as a plugin via framework configuration
sqlite3
No direct import needed; sqlite3 is used internally
Attempting to import sqlite3 module separately
sqlite3 is a transitive dependency managed by the adapter
regexp.c
Compile with gcc as shown in README
Ignoring compilation or using pre-built binary
Required for regex support; must be compiled per platform

Configures the SQLite adapter in MOST Web Framework app.json, setting it as the default database adapter with a local SQLite file.

// app.json configuration { "adapterTypes": [ { "name":"SQLite Data Adapter", "invariantName": "sqlite", "type":"most-data-sqlite" } ], "adapters": [ { "name":"local-db", "invariantName":"sqlite", "default":true, "options": { "database":"db/local.db" } } ] }
Debug
Known issues
breakingRequires manual compilation of regex extension (regexp.c) for SQLite
fix
Compile regexp.c with gcc as per platform-specific instructions in README
affects: >=0.1.0
gotchaAdapter is configured via JSON config, not imported directly as a module
fix
Follow the app.json adapter registration pattern; do not use require('most-data-sqlite')
affects: >=0.1.0
deprecatedNo versioning or breaking change policy documented; assume internal changes
fix
Pin version and test updates; no official deprecation policy
affects: >=0.1.0
Errors
Common errors & fixes
Error: Cannot find module 'most-data-sqlite'
Package not installed or missing
fix
Run npm install most-data-sqlite
SQLite adapter not found
Adapter not registered in app.json adapterTypes
fix
Add adapter type entry to adapterTypes array in app.json
regexp extension not loaded
regexp.c not compiled or loaded
fix
Compile regexp.c with gcc -shared -fPIC -o regexp.0.dylib regexp.c (adjust for platform)
Upgrade
Version history
0.1.16latest on npm
Audit
Dependencies
most-weboptionalPeer framework dependency for MOST Web Framework
Agent activity
3 hits · last 30 days
node
2
Amazon
1
Resources
most-data-sqlite — npm install most-data-sqlite · libregistry