0.0.3 • Published 2 years ago
rescript-indexeddb v0.0.3
rescript-indexeddb
Warning: I haven't written tests for this package yet. Use at your own risk, and feel free to open issues.
Implemented
- IDBCursor
- IDBCursorWithValue (see binding for IDBCursor).
- IDBCursorDirection
- IDBCursorSource
- IDBDatabase
- IDBFactory
- IDBIndexParameters
- IDBKeyRange
- IDBObjectStore
- IDBObjectStoreKeyPath
- IDBOpenDBRequest
- IDBRequest
- IDBRequestReadyState
- IDBTransaction
- IDBTransactionDurability
- IDBTransactionMode
- IDBVersionChangeEvent
Build
npm run build
Test
I can't seem to get Puppeteer to work, and that's not my main priority for now, but you can manually run an http server and navigate to /test.html to see it working.
If any Puppeteer experts are reading this, feel free to help educate me!
Usage
I plan to expand on this later. For now, please refer to /test/browser/Index.res.
License
This software is available under two licenses.
- an adaptation of the Do No Harm license which I've called the No Violence license.
- the MIT license.
Both are available in this directory.