Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dynamic-config-store

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dynamic-config-store

Simple configuration utility for deployments and libraries

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
77
increased by5.48%
Maintainers
1
Weekly downloads
 
Created
Source

dynamic-config-store

A configuration utility for global configurations.

An example simple config:

import { ConfigStore } from "dynamic-config-store";

const config = new ConfigStore({
  accessCode: "123abc",
  nullThing: null,
  SomeLibrary: {
    Deeper: {
      key: "asdasd",
      otherKey: "123123",
    }
  },
  wins: 213,
});

A configuration can be easily defined through the following means (higher takes precedence over others):

  • Environment Overrides (every single config value has the ability to be overridden through environment variables)
    • e.g. CONFIG_OVERRIDE_SERVER__PORT
  • Defined Environment Links (these are nicer, pre-defined environment overrides)

These configurations can also have reactions added into them to form extra config values based off of any changes that may happen to the config.

Keywords

FAQs

Package last updated on 13 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc