LokiJS
LokiJS | creating-a-embeddable-chat-widget | |
---|---|---|
2 | 4 | |
6,690 | 2 | |
- | - | |
0.0 | 0.0 | |
11 months ago | almost 2 years ago | |
JavaScript | TypeScript | |
MIT License | - |
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.
LokiJS
-
I've created a lightning fast in-memory database for the frontend - fully type-safe, of course
(This compares a simple JS Map() to LokiJS to BlinkDB. You can find more benchmarks in the repository.)
-
Part 3: Creating an embeddable chat widget
So instead I went with lokijs even though I find the documentation of it quite horrible, I have used it before and it works without issues and has lots of features. And I thought it would also be good to show how I use it so others don't have to figure that our on their own 😇
creating-a-embeddable-chat-widget
-
Part 4: Portal login & authorization of socket connection
Commit for this section is here
-
Part 3: Creating an embeddable chat widget
The full code for this part is in branch part-3, found here
-
Part 2: Creating an embeddable chat widget
Adjust build scripts, for changes check this commit
-
Part 1: Creating a embeddable chat widget
The code for this series will be hosted here.
What are some alternatives?
localForage - 💾 Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API.
vite-vue3-typescript-webcomponent - To develop Web Component by using Vite + Vue 3 + typescript.
WatermelonDB - 🍉 Reactive & asynchronous database for powerful React and React Native apps ⚡️
Lowdb - Simple and fast JSON database
NeDB - The JavaScript Database, for Node.js, nw.js, electron and the browser
PouchDB - :koala: - PouchDB is a pocket-sized database.
sql.js - A javascript library to run SQLite on the web.
secStore.js - Encryption enabled browser storage
lawnchair.js - A lightweight clientside JSON document store,
DB.js - db.js is a wrapper for IndexedDB to make it easier to work against
jStorage - jStorage is a simple key/value database to store data on browser side