https://github.com/abdurrahmanekr/websql-sqlite-service
websql sqlite library, websqlite
https://github.com/abdurrahmanekr/websql-sqlite-service
avarekodcu sqlite websql websqlite
Last synced: about 1 year ago
JSON representation
websql sqlite library, websqlite
- Host: GitHub
- URL: https://github.com/abdurrahmanekr/websql-sqlite-service
- Owner: abdurrahmanekr
- License: mit
- Created: 2016-08-12T08:20:17.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2021-07-28T08:45:47.000Z (almost 5 years ago)
- Last Synced: 2025-05-20T01:18:31.136Z (about 1 year ago)
- Topics: avarekodcu, sqlite, websql, websqlite
- Language: JavaScript
- Homepage: http://www.avarekodcu.com/konu/26/websql-ve-sqlitei-verimli-kullanma-kullanimi
- Size: 34.2 KB
- Stars: 25
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README

WebSql and Sqlite Compatible SqlService Library
### Install
install command:
```
npm install websqlite --save
```
### Initialize
```javascript
const websqlite = require('websqlite');
var SqlService = new websqlite();
SqlService.init({
id: 'user', // db name
dbObject: window, // database object eg: window.openDatabase
timeout: 5000 // process waiting time
})
```
| name | description |
| --- | --- |
| id | database name |
| dbObject | database object |
| timeout | sql process timeout |
| version | database version (default: 1.0)|
| description | database description (default: Database)|
### API documentation
[API link](https://github.com/abdurrahmanekr/Websql-Sqlite-Service/tree/master/docs/API.md)
### License
This library MIT license. Copyright Avare Kodcu.