Easily load and persist config without having to think about where and how
by sindresorhusJavaScript
Last 12 weeks · 0 commits
4 of 6 standards met
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
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.
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.