electron-store
electron-json-storage
electron-store | electron-json-storage | |
---|---|---|
7 | 1 | |
4,431 | 1,425 | |
- | 0.1% | |
4.3 | 0.0 | |
about 2 months ago | 11 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.
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
electron-json-storage
-
I'm a noob, I've hit a wall and I need a bit of handholding re: creating node.js app
electron-json storage https://github.com/jviotti/electron-json-storage
What are some alternatives?
puppeteer-extra - π― Teach puppeteer new tricks through plugins.
fs-jetpack - Better file system API for Node.js
electronmon - π₯ run, watch, and restart electron apps using magic
electron-settings - π A simple persistent user settings framework for Electron.
decap-cms - A Git-based CMS for Static Site Generators
graceful-fs - fs with incremental backoff on EMFILE
simple-fullstack-examples - Minimal examples of Node.js fullstack applications, showing that, at least in principal "fullstack" isn't that difficult.
electron-log - Just a simple logging module for your Electron application
Lowdb - Simple and fast JSON database
conf - Simple config handling for your app or module
vue-ls - :boom: Vue plugin for work with local storage, session storage and memory storage from Vue context πΊπ¦