Skip to content

CryptoSharon/sharon-storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sharon-storage

A simple persistent user settings framework for just about anything.

This is an adapted version of npm package electron-settings. It's still the same but now the config is stored at path/to/process/data/config.json and uses fs-extra and some other tiny changes so that it works with anything and not just Electron.

In fact I don't know if it works with Electron anymore. It will remain untested since I don't use Electron. Issues and pull-requests welcome if you care enough about the package.

Install

$ npm install --save sharon-storage

Demo

const conf = require('sharon-storage');

conf.set('toot', {toot: "Mamma mia!"}
conf.get('toot.toot') // "Mamma mia!"

Need help? Make an issue or contact me at telegram.me/CryptoSharon

Visit my blog at peakd.com/@CryptoSharon

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published