A SQLite-adapted fork of mysqljs/sqlstring that provides simple SQL string escaping and formatting for SQLite. Version 0.1.1 is the latest release, with no defined release cadence. It modifies the escape character maps for SQLite compatibility but does not update unit tests, so tests will not pass. Differentiates from the original by supporting SQLite-specific escaping rules.
npm install sqlstring-sqliteNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage of escape and format methods for SQLite queries.
Do not rely on tests; verify behavior manually or write your own tests.
SQLite accepts backticks for compatibility but double quotes are standard. Manually adjust if needed.
Use a custom toSqlString method to convert dates to SQLite format.
Ensure all object values are primitives or implement toSqlString.
Run 'npm install sqlstring-sqlite'
Change to const SqlString = require('sqlstring-sqlite'); or use dynamic import.Ignore failing tests or update them to expect SQLite escaping.
No dependency data recorded yet.