configstore icon indicating copy to clipboard operation
configstore copied to clipboard

Easily load and persist config without having to think about where and how

Results 6 configstore issues
Sort by recently updated
recently updated
newest added

This PR adds power support on travis.

I'm looking into ways to reduce the footprint from all dependencies to try and reduce the overall size. One of them i looked into was if `unique-string` was really needed....

Some users may have different opinion on where configstore should store the data. For example, using `C:\Users\\.config` on Windows is unconventional and not really common, nor recommended (actually, it's an...

```text patrikx3@bitang:~$ /snap/bin/p3x-onenote A JavaScript error occurred in the main process Uncaught Exception: Error: EPERM: operation not permitted, chown '/home/patrikx3/snap/p3x-onenote/21/.config/configstore/p3x-onenote.json.994378042' at Object.chownSync (fs.js:1064:3) at Function.writeFileSync [as sync] (/snap/p3x-onenote/21/resources/app.asar/node_modules/write-file-atomic/index.js:196:27) at Configstore.set...

enhancement

https://github.com/yeoman/configstore/blob/c70d76c19abe75920bdbb8c294b64f6bae68c15b/index.js#L46C49-L46C49 ``` if (error.name === 'SyntaxError') { writeFileAtomic.sync(this._path, '', writeFileOptions); return {}; } ``` Maybe add an option to leave .json with syntax errors untouched? We have large config files...

nodejs have built in recursive mkdir... https://github.com/yeoman/configstore/blob/02f07ead1cbbc1c8b49e3c9ba6e7a4896594368d/index.js#L3