# sqlite-helper **Repository Path**: npm-packages/sqlite-helper ## Basic Information - **Project Name**: sqlite-helper - **Description**: sqlite帮助类,使用node24以后原生支持的sqlite - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-03-25 - **Last Updated**: 2026-03-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # sqlite-tiny 这是一个简单的 SQLite 数据库帮助类,用于执行数据库操作。 ## 安装 ```bash npm install sqlite-tiny ``` ## 使用 ```javascript import sqliteHelper from "sqlite-tiny"; const db = new sqliteHelper("test.db"); db.run( "CREATE TABLE IF NOT EXISTS test (id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT)", ); db.run('INSERT INTO test (name) VALUES ("test")'); db.close(); ``` ##