nodezoo / monorepo

Nodezoo system monorepo.
MIT License
2 stars 2 forks source link

[idea] Allow clients to specify custom filenames #2

Closed lilsweetcaligula closed 1 year ago

lilsweetcaligula commented 3 years ago

The filename option is optional.

main: srv: downloader: {
  msg: {
    'role:info,source:npm,need:pkg': {
      async: true,
      filename: 'need_npm_pkg.js'
    }

    'role:info,source:github,need:pkg': {
      async: true,
      filename: 'need_github_pkg.js'
    }
  }
}