electron-store
blender-hub
electron-store | blender-hub | |
---|---|---|
7 | 2 | |
4,431 | 8 | |
- | - | |
4.3 | 0.0 | |
about 2 months ago | over 1 year ago | |
JavaScript | TypeScript | |
MIT License | 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.
electron-store
-
Best offline&local database to use with electron?
Not quite a database, but I use electron-store for persistent storage. It has a super simple API, and it stores data in a config.json file thatโs mostly hidden from the user unless they know where to look.
-
Something like mongoose in electron?
The electron-store package works well with simple data.
-
What is the proper way to permanently store data in Electron in 2023?
I've seen electron-store, but it seems to be a volatile store. Each time I open the app, it seems I must create a new Store(). The doc explains clearly how to perform crud operation in a new store, but not how to retrieve existing data when re-opening the app 10 days later. If the lib can actually do it, how to do so?
-
Question about data persistence within electron app
With Electron, you have disk access via Node.js (fs.writeFile, etc), so you can save user preferences to the user's hard drive. See https://github.com/sindresorhus/electron-store for a library that makes it super easy and provides you with some nice conventions for working with the file system from an Electron app.
-
How to save user preferences?
Use electron-store
-
Using Typescript with electron-store
https://github.com/sindresorhus/electron-store/issues/49 Links to internal test that shows how to pass types to electron-store
-
[Electron][TypeScript] output/input files
GitHub - sindresorhus/electron-store: Simple data persistence for your Electron app or module - Save and load user preferences, app state, cache, etc
blender-hub
-
Using NodeJS APIs in Electron with React
You can see a full working version of this example in this commit.
-
Using Typescript with electron-store
Want to see the code in it's entirety? Check out the project on Github here.
What are some alternatives?
puppeteer-extra - ๐ฏ Teach puppeteer new tricks through plugins.
electronmon - ๐ฅ run, watch, and restart electron apps using magic
decap-cms - A Git-based CMS for Static Site Generators
electron-settings - ๐ A simple persistent user settings framework for Electron.
electron-log - Just a simple logging module for your Electron application
conf - Simple config handling for your app or module
cnnn666v2-bot - Config files for my GitHub profile.
electron-json-storage - :package: Easily write and read user settings in Electron apps
greencrayons - Config files for my GitHub profile.
Python-Nova.novaextension - Python Extension for Panic's Nova editor for macOS
RxDB - A fast, local first, reactive Database for JavaScript Applications https://rxdb.info/