New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

hotconfig

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hotconfig

hot config for nodejs

latest
Source
npmnpm
Version
0.0.5
Version published
Maintainers
1
Created
Source

hotconfig

hot config for nodejs

usage

npm install hotconfig

then

HotConfig = require 'hotconfig'

HotConfig("configname");

then you can get a hot config

when you want to change config. you don't need reboot process.

just use HotConfig to load the config ,then when you change the config,change the version in config.the change will be effect in one second。

limit

  • config must be a .json file
  • must have 'version' field in config file,else will throw Error directly
  • set HotConfig.prefix before you use ,default set is __dirname

Keywords

hot

FAQs

Package last updated on 26 Aug 2013

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