node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป



What's raptor-config module?

  • raptor-config module is a pluggable piece of context-config module that could load your config from raptor config mongo service
  • read for raptor config's mongo service information
  • raptor-config is responsible for loading config data from the mongo service as above
  • raptor-config is responsible for detecting changes from the mongo service as above and notify the configuration users

How to use?

Event Chaining

new require("raptor-config").RaptorConfig(emitter); //emitter being the same emitter ur config builder uses, it could be this particular process, or the cluster