3.0.0 • Published 8 years ago

treo-websql v3.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

treo-websql

Treo plugin to fallback to WebSQL.

npm.io npm.io

This module forces treo to use WebSQL in Safari 8- and when IndexedDB is not available. Also it patches IE implementation to support compound indexes.

Installation

npm install --save treo-websql

Usage

import treo from 'treo'
import treoWebsql from 'treo-websql'

// enable indexeddbshim && custom "idb-factory" setup
treoWebsql()

// works everywhere
const db = treo('mydb')
db.books.get('key').then((val) => {})

License

MIT

3.0.0

8 years ago

2.0.0

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago