electronmon
electron-store
Our great sponsors
electronmon | electron-store | |
---|---|---|
2 | 7 | |
118 | 4,422 | |
- | - | |
0.0 | 4.3 | |
about 1 year ago | about 2 months ago | |
JavaScript | JavaScript | |
- | 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.
electronmon
-
How to build Electron App by esbuild with hot reload functionality?
Use electronmon to restart the Electron app when the main process code changes, and reload WebView for the renderer process.
-
Building a desktop application using Electron and Create React App
electronmon: Like nodemon, but for the Electron process. Allows watching and reloading our Electron app.
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
What are some alternatives?
electron-builder - A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box
puppeteer-extra - 💯 Teach puppeteer new tricks through plugins.
Nodemon.io - Monitor for any changes in your node.js application and automatically restart the server - perfect for development
decap-cms - A Git-based CMS for Static Site Generators
hotwire-livereload - Live reload gem for Hotwire Rails apps.
electron-settings - 📝 A simple persistent user settings framework for Electron.
create-react-app - Set up a modern web app by running one command.
electron-log - Just a simple logging module for your Electron application
concurrently - Run commands concurrently. Like `npm run watch-js & npm run watch-less` but better.
conf - Simple config handling for your app or module
wait-on - wait-on is a cross-platform command line utility and Node.js API which will wait for files, ports, sockets, and http(s) resources to become available
cnnn666v2-bot - Config files for my GitHub profile.