GitShow/sindresorhus/configstore
sindresorhus

configstore

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

by sindresorhus
Star on GitHubForknpm

JavaScript

889 stars55 forks25 contributorsQuiet · 5mo agoSince 2012v8.0.0BSD-2-Clause

Meet the team

See all 25 on GitHub →
sindresorhus
sindresorhus98 contributions
SBoudrias
SBoudrias7 contributions
passy
passy7 contributions
fregante
fregante4 contributions
satazor
satazor4 contributions
addyosmani
addyosmani2 contributions
bcomnes
bcomnes2 contributions
wibblymat
wibblymat2 contributions

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
ChrisNolan
cli throws permissions error trying to refresh the .config/sanity/config.json file when multiple processes are working in parallelClosedIssue

This package is used in the @sanity/cli package and there is an issue that when multiple processes are starting up simultaneous, the configstore throws an EPERM os level error as it is trying to rename two different files to the same file at the same time I suppose. Full details in this issue on their repo but here is a bit of a trace

ChrisNolan · 5mo ago
MatejKafka
Allow user to override location of `configstore` directory using an environment variableClosedIssue

Some users may have different opinion on where configstore should store the data. For example, using on Windows is unconventional and not really common or recommended (dotfiles only tend to be used by software ported from Linux, Windows-native software always uses ). Configstore should support an environment variable like and store the config elsewhere if it is set.

MatejKafka · 7mo ago
KrFreeFly
Make rewriting of JSONs with syntax errors optionalClosedIssue

https://github.com/yeoman/configstore/blob/c70d76c19abe75920bdbb8c294b64f6bae68c15b/index.js#L46C49-L46C49 Maybe add an option to leave .json with syntax errors untouched? We have large config files and sometimes lose them completely in case of error

KrFreeFly · 9mo ago
Structured data for AI agents

Repository: sindresorhus/configstore. Description: Easily load and persist config without having to think about where and how Stars: 889, Forks: 55. Primary language: JavaScript. Languages: JavaScript (100%). License: BSD-2-Clause. Latest release: v8.0.0 (5mo ago). Open PRs: 0, open issues: 0. Last activity: 5mo ago. Community health: 85%. Top contributors: sindresorhus, SBoudrias, passy, fregante, satazor, addyosmani, bcomnes, wibblymat, wtgtybhertgeghgtwtg, hemanth and others.

·@ofershap

Replace github.com with gitshow.dev