[email protected]
Twitter
LinkedIn
YouTube
GitHub
  • Services
  • Blog
  • Repositories
  • GitHub
  • Resume
    • LinkedIn
    • PDF
  • Contact
Product was added to your cart

Cart

Dexie.js: A simple and robust library for indexedDB (HTML5 Storage)

July 16, 2015Front-Endjfadev

Dexie.js is a simple and concise library to work with the “Indexed Database API” or IndexedDB.

IndexedDB it is a way of storing data persistently in the browser. Given that allows the creation of web applications with enhanced query capabilities, These can be run both online and offline. IndexedDB is useful for applications that store a lot of data and applications that do not need a permanent connection to the Internet to work.

It can also be very useful to save data to local in a hybrid app for example.

Example of use:

/*
|---------------------------------------------
| Make a database connection
|---------------------------------------------
*/

var db = new Dexie('MyDatabase');

// Define a schema
db.version(1)
    .stores({
        friends: 'name, age'
    });

// Open the database
db.open()
    .catch(function(error){
        alert('Uh oh : ' + error);
    });


/*
|---------------------------------------------
| Then run some queries
|---------------------------------------------
*/

// Find some old friends
db.friends
    .where('age')
    .above(75)
    .each(function(friend){
        console.log(friend.name);
    });

// or make a new one
db.friends
    .add({
        name: 'Camilla',
        age: 25
    });

Web: dexie.org

Documentation: GitHub

Repository

A Minimalistic Wrapper for IndexedDB
https://github.com/dexie/Dexie.js
716 forks.
14,646 stars.
599 open issues.

Recent commits:
  • chore(deps): bump pnpm/action-setup from 2 to 6 (#2349)Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 2 to 6.- [Release notes](https://github.com/pnpm/action-setup/releases)- [Commits](https://github.com/pnpm/action-setup/compare/v2.0.0…v6)—updated-dependencies:- dependency-name: pnpm/action-setup dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major…Signed-off-by: dependabot[bot] <[email protected]>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>, GitHub
  • chore(deps): bump actions/checkout from 3 to 7 (#2348)Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 7.- [Release notes](https://github.com/actions/checkout/releases)- [Commits](https://github.com/actions/checkout/compare/v3…v7)—updated-dependencies:- dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major…Signed-off-by: dependabot[bot] <[email protected]>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>, GitHub
  • chore(deps): bump actions/setup-node from 3 to 7 (#2347)Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 7.- [Release notes](https://github.com/actions/setup-node/releases)- [Commits](https://github.com/actions/setup-node/compare/v3…v7)—updated-dependencies:- dependency-name: actions/setup-node dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major…Signed-off-by: dependabot[bot] <[email protected]>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>, GitHub
  • Harden npm publishing workflows and document security configuration (#2346)* Harden npm publishing workflows against supply-chain and script injection risksPin workflow actions to verified commit SHAs and enable weekly Dependabot updates. Pass inputs and outputs through env, validate version components, and safely construct version patches and Discord payloads. Add isolated regression tests and GitHub/npm configuration guidance.* Removed PUBLISHING.md. It's content is about this PR and would clutter the repository.* prettified, GitHub
  • fix(table): read table.core after auto-open in bulkUpdate (#2334)Fixes #2087bulkUpdate captured this.core before _trans, so the first call on anot-yet-open database used undefined and threw when calling getMany.Read core inside _trans, matching bulkGet, bulkPut, and bulkDelete., GitHub

: Database, HTML5, IndexedDB, JS, Library, Storage, Web Developement

Services

  • Fix bugs in your Wordpress Site $40.00 / hr
  • Bot Tok $45.00
  • Fix bugs in your PHP Symfony App $50.00 / hr
  • Tasks Automation using Node.js $50.00 / hr
  • REST API Development with Symfony $50.00 / hr

Blog

  • How to Pay with a Bank Card on Cryptomus
  • Complete Beginner’s Guide to Bot Tok: Terminal Commands Explained
  • Top Site to Gain Views on TikTok
  • Jfa Whatsapp Chatbot
  • TikTok Bot

Explore

  • Free 10 Tiktok Likes
  • Free 2K TikTok Views
  • Free 100 TikTok Favorites
  • Free 300 TikTok Shares
  • Buy TikTok Views
  • Free 100 Instagram Likes
Twitter
LinkedIn
YouTube
GitHub

© 2013-2026 Jordi Fernandes Alves (@jfadev)