Skip to content

Commit

Permalink
Merge branch 'main' of github.com:mblink/fp-ts-indexeddb into test-br…
Browse files Browse the repository at this point in the history
…anch
  • Loading branch information
jleider committed Oct 27, 2021
2 parents 90d248b + 6838020 commit 7ce8a42
Show file tree
Hide file tree
Showing 9 changed files with 1,270 additions and 301 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module.exports = {
es6: true,
node: true,
jest: true,
jasmine: true,
},
extends: [
"eslint:recommended",
Expand Down
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
# fp-ts-indexeddb
# fp-ts-indexeddb

**fp-ts-indexeddb is a simple functional wrapper around the underlying IndexedDB API utilizing FP-TS.**

The API of fp-ts-indexeddb tries its best to respect the naming convention of the underlying IndexedDB
and only deviating where necessary to avoid reserved words like `delete`.

## API Methods:
* open
* insert
* put
* get
* getAll
* remove
* clearStore
6 changes: 5 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
testEnvironment: 'jsdom',
testRunner: "jest-jasmine2",
setupFiles: [
"fake-indexeddb/auto"
],
};
Loading

0 comments on commit 7ce8a42

Please sign in to comment.