Liburno_lib (v5.0.28) is an Italian-language CLI utility library wrapping better-sqlite3 with helper functions for database management, string manipulation, and email sending. It provides a Database class with extended methods like multi-statement run, transaction stack, schema inspection, export/import, and FTS5 support. Also includes init for console colors, B for global utilities, and Post for HTTP requests and mail. Released on npm. Differentiators: full SQLite wrapper with FTS5, automatic transaction management, and all-in-one CLI toolset.
npm install liburno_libNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows database creation, table insert, query, B.random usage, schema export, and Post class setup.
Ensure exclusive access or handle errors.
Use separate prepare/run calls for each statement if you need all results.
Use async/await or .then() for asynchronous operations.
Replace fetchfile with fetchtxt and write to file manually.
Call init() only once at app startup and be aware of prototype pollution.
Pre-install build-essential or use prebuilt binaries via node-gyp.
Run 'npm install' and ensure build tools are available. On Windows, try installing windows-build-tools.
Use const { database } = require('liburno_lib') and then database.db('file.db').Close other connections, use WAL mode, or retry after a short delay.
Use const { init } = require('liburno_lib') instead of const init = require('liburno_lib').