websqlite

1.3.1 • Public • Published

WebSqLite

WebSql and Sqlite Compatible SqlService Library

Install

install command:

npm install websqlite --save

Initialize

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

License

This library MIT license. Copyright Avare Kodcu.

Package Sidebar

Install

npm i websqlite

Weekly Downloads

7

Version

1.3.1

License

MIT

Unpacked Size

15.5 kB

Total Files

8

Last publish

Collaborators

  • abdurrahmanekr
  • emregudur
  • esracoskun