node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey ยป Herd

A simple hook that spawns one child hook for each json config file in a given directory.

  1. Create a bunch of config.json files.
  2. Use the childHooks key to define the configs for hooks that will be spawned as child hooks
  3. Use the configFilePath key in your child hook config to load the config from a separate file
    • NOTE: paths are relative to the json files as you would expect

Example Config

    {"type":"helloworld", "name":"Homer"},
    {"type":"helloworld", "name":"Marge"},