How to use the egg-core/package.version function in egg-core

To help you get started, we’ve selected a few egg-core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github midwayjs / midway / packages / midway / cluster / master.js View on Github external
constructor(options) {
    options = formatOptions(options);
    super(options);
    this.log('[master] egg version %s, egg-core version %s',
      require('egg/package').version,
      require('egg-core/package').version);
  }

egg-core

A core Pluggable framework based on koa

MIT
Latest version published 4 months ago

Package Health Score

75 / 100
Full package analysis