idb
idb-keyval
idb | idb-keyval | |
---|---|---|
13 | 6 | |
6,098 | 2,602 | |
- | - | |
5.2 | 0.6 | |
6 months ago | 29 days ago | |
TypeScript | TypeScript | |
ISC License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
idb
-
Typescript not identifying type implicitly from deeply nested value - limitation, or is my code wrong?
From this github issue and pr it seems to be a limitation with how union works in TypeScript.
-
How to get core.async to play well with IndexedDB
I've worked on a core async app that used indexeddb heavily, but instead of using the indexeddb apis directly I used https://github.com/jakearchibald/idb for a the promise API. Worked well.
-
Database in Chrome Extension?
I use IndexedDB, specifically the idb library (https://github.com/jakearchibald/idb), or Dexie.js (https://dexie.org/) if you are more novice. This works great for large sets of data. For smaller amounts, Chrome Storage API will do.
-
IndexedDB wrapper suggestions for a NextJS app without hosted DB
This was also the library I landed on: Github link
-
SvelteKit: Use local database in the browser
I had good luck using IDB ( https://github.com/jakearchibald/idb ) It makes using IndexedDB easy.
-
New Release: Video Tutorial Collection
That entire chunk of code is copied from a library https://github.com/jakearchibald/idb
- How to explain stark difference in downloads of dexie and idb?
-
The modern way of setting up IndexedDB
So that kind of ends this simple setup. It's incredible how little help you're able to find online regarding all of this, so hopefully this will help myself in the future, and maybe some lost soul will stumble upon it as well. There's loads of other features that can be used, but I won't get into that right now. You can find more examples on Jake Archibald's library readme: https://github.com/jakearchibald/idb
-
A Future for SQL on the Web
I've had good experiences with
https://github.com/jakearchibald/idb
It's basically a promise-based version of the standard API.
-
`export default thing` behaves differently to `export { thing as default }`
Here is link number 1 - Previous text "idb"
idb-keyval
-
IndexedDB con ExtJS
IDB-Keyval
-
SvelteKit: Use local database in the browser
idb-keyval is a great library for storing simple data in the browser using IndexedDB. secure-ls is great for storing data securely in Local Storage in the browser. There is also svelte-local-storage-store for saving and retrieving data to/from Local Storage in the browser easily with just a svelte store.
- 瀏覽器上的儲存空間:IndexedDB
-
What makes a package useless, or "When should I reinvent the wheel"?
Preference for a different package that covers the same use case. For example, instead of a wrapper for the somewhat outdated localStorage and sessionStorage APIs such as store2, you could use the excellent idb-keyval, which wraps the IndexedDB API instead, giving significant performance and other advantages.
-
How to Cache Some Static Data
idb-keyval is an easy to use wrapper for IndexedDB https://github.com/jakearchibald/idb-keyval
-
`export default thing` behaves differently to `export { thing as default }`
I'm not sure this is clear cut. Take idb-keyval for instance. The exported names are get and set. If someone was import them individually I'd totally understand why they might them different names to make the context clear. Eg:
What are some alternatives?
Dexie.js - A Minimalistic Wrapper for IndexedDB
localForage - 💾 Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API.
CarChecker - A sample Blazor WebAssembly application that includes authentication, in-browser data storage, offline support, localization, responsive layouts, and more. For a video walkthrough, see this link:
secure-ls - :lock: Secure localStorage data with high level of encryption and data compression
javascript - JavaScript Style Guide
lets-play-bitburner
svelte-persisted-store - A Svelte store that persists to localStorage
certificate-transparency - Auditing for TLS certificates.
localfirstweb.dev - A list of various resources for local-first web development