electron-store
Python-Nova.novaextension
electron-store | Python-Nova.novaextension | |
---|---|---|
7 | 1 | |
4,431 | 22 | |
- | - | |
4.3 | 0.0 | |
about 2 months ago | about 2 years 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
Python-Nova.novaextension
-
LÖVE Support For Panic's Nova Editor
Nova does actually support LSP, which I noticed when looking for Python support. This extension uses the python language server. I'll actually take a look at the best route to do implement LSP for Lua. My current method works only for functions that are directly accessed by their full name like `love.graphics.rectangle`, so if you aliased functions it wouldn't work.
What are some alternatives?
puppeteer-extra - 💯 Teach puppeteer new tricks through plugins.
lua-language-server - A language server that offers Lua language support - programmed in Lua
electronmon - 🖥 run, watch, and restart electron apps using magic
dtale - Visualizer for pandas data structures
decap-cms - A Git-based CMS for Static Site Generators
N0va-Desktop-File-Converter - Extract videos and photos from N0vaDesktop
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.