rescript-indexeddb
v0.0.3
Published
**Warning: I haven't written tests for this package yet. Use at your own risk, and feel free to open issues.**
Downloads
1
Maintainers
Readme
rescript-indexeddb
Warning: I haven't written tests for this package yet. Use at your own risk, and feel free to open issues.
Implemented
- [X] IDBCursor
- [X] IDBCursorWithValue (see binding for IDBCursor).
- [X] IDBCursorDirection
- [X] IDBCursorSource
- [X] IDBDatabase
- [X] IDBFactory
- [X] IDBIndexParameters
- [X] IDBKeyRange
- [X] IDBObjectStore
- [X] IDBObjectStoreKeyPath
- [X] IDBOpenDBRequest
- [X] IDBRequest
- [X] IDBRequestReadyState
- [X] IDBTransaction
- [X] IDBTransactionDurability
- [X] IDBTransactionMode
- [X] 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.