commands
Dexie.js
commands | Dexie.js | |
---|---|---|
7 | 33 | |
21 | 10,797 | |
- | 1.2% | |
6.1 | 9.2 | |
15 days ago | 4 days ago | |
TypeScript | JavaScript | |
MIT License | Apache License 2.0 |
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.
commands
-
Show HN: Make 3D art in your browser using Lisp and math
It's CodeMirror! All I had to do was write a Janet grammar for it -- very easy to do. CodeMirror is pretty amazing -- I was able to implement the "edit values with your mouse" by just asking CodeMirror for the syntax node under the cursor, checking if it parsed as a number, and if so replacing it with a different string.
https://codemirror.net/
https://github.com/ianthehenry/codemirror-lang-janet
I went with CodeMirror after reading this post that compares a few different editor components: https://blog.replit.com/codemirror and I've been super happy with it.
-
Wrighter (β) - A Powerful Markdown Blogger & A Writing Companion ⚡
The wrighter editor is built on top of codemirror and bytemd. codemirror is the go-to choice when it comes to flexible/hackable text editing and bytemd provides a nice wrapper for codemirror using react with some extra functionalities. I wanted to create a fork of bytemd that includes all the WYSIWYM features that I built for wrighter, but it was out of scope and takes too much time.
-
Help me understand how the REPL actually works
I will just use technology I am familiar with. Tauri + CodeMirror + CM's Common Lisp mode should hopefully get me a long way.
-
Welcome to The Spicy Web YouTube Channel
And the second video is an example of me converting some messy vanilla JavaScript code for initializing and accessing multiple CodeMirror code editors to clean, encapsulated, well-organized web component code. (Still vanilla!)
-
Apply multiple styles to contenteditable div using keyboard shortcuts
You can check out the CodeMirror library - https://codemirror.net/ It seems to be great match for this case.
-
Adding Codemirror 6 to a React Project
Try it out in your editor and it should work a dream. For all of the possible commands, you can add check out the command repo's README.
Dexie.js
-
Ask HN: Wa-SQLite vs. Dexie, 2024
The word on the street is that https://github.com/rhashimoto/wa-sqlite is nearly production ready, closing in on the neat 1.0.0 release, with its IDBBatchAtomic engine highly recommended at https://www.powersync.com/blog/sqlite-persistence-on-the-web. You can try out the benchmark https://rhashimoto.github.io/wa-sqlite/demo/benchmarks.html.
And the other contestant is Dexie, stable https://dexie.org/.
If you were to branch into a new venture today, which one would you pick? And why?
- Dexie.js – Minimalistic IndexedDB Wrapper
- Dexie.js: A Minimalistic Wrapper for IndexedDB
- Koji wrapper koristiti za IndexedDB?
-
A comprehensive guide to making your web app feel native
That said, there are some great ways to wrap IndexedDB to make it easier to work with. Since I’m writing this article I’ll toss in my local-first framework Verdant, which can be used without the sync features as a standalone IndexedDB-powered database with a type-safe schema and deployable data migrations. For a lighter-weight approach, maybe check out Dexie.
-
Best way to store persistent data?
Using IndexedDB. I have heard its pretty cumbersome to use. There are wrappers like Dexie.js but I am not sure if it works seamlessly with Tauri or if it is the correct thing for my use case.
-
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 on steroids using Dexie.js
To make things easier, Dexie.js provides a straightforward and simplified process of creating databases, storing data, updating data and database migrations, etc., over the top of indexedDB.
-
Better Ways To Handle Data Storage on The Web Client
If you are just looking for a solution for your IndexedDB needs I find Dexie to be one of the best but depending on other needs, the others in the list are also good to consider.
What are some alternatives?
vite - Next generation frontend tooling. It's fast!
localForage - 💾 Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API.
Cron Expression - CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due
PouchDB - :koala: - PouchDB is a pocket-sized database.
Shunt - [ABANDONED] PHP library for executing commands on multiple remote machines, via SSH
WatermelonDB - 🍉 Reactive & asynchronous database for powerful React and React Native apps ⚡️
Boris - A tiny REPL for PHP
idb - IndexedDB, but with promises
Laravel-Zero - A PHP framework for console artisans
sql.js - A javascript library to run SQLite on the web.
colorchord - Chromatic Sound to Light Conversion System
store.js - Cross-browser storage for all use cases, used across the web.