idb
IndexedDB, but with promises
File Explorer
Download Latest Version (.zip)- bug_report.md
- feature_request.md
- size-report.mjs
- main.js
- async-iterators.ts
- database-extras.ts
- entry.ts
- index.ts
- tsconfig.json
- util.ts
- wrap-idb-value.ts
- index.html
- index.ts
- iterate.ts
- main.ts
- missing-types.d.ts
- open.ts
- tsconfig.json
- utils.ts
- .gitignore
- .prettierrc.json
- CHANGELOG.md
- generic-tsconfig.json
- LICENSE
- package.json
- pnpm-lock.yaml
- README.md
- rollup.config.mjs
# Installation Guide
1. Get the code
git clone https://github.com/jakearchibald/idb
Downloads the entire project code from GitHub to your computer.
cd idb
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm install idb
Downloads and installs the libraries listed in package.json.
import { openDB, deleteDB, wrap, unwrap } from 'https://cdn.jsdelivr.net/npm/idb@8/+esm';
Type this command into your terminal and run it.
<script src="https://cdn.jsdelivr.net/npm/idb@8/build/umd.js"></script>
Type this command into your terminal and run it.
pnpm run dev
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
