Service-template-node

The service-template-node project was a template for creating MediaWiki services in Node.js. It used technologies such as service-runner, Bluebird promises, express.js, mocha, istanbul, and Docker to make it simple to create robust services that conform to best practices.

The template has not been maintained and is no longer recommended for use. It is now recommended you use native Promises instead of Bluebird as the library is no longer maintained. Several services have removed dependency on service-runner and you should not expect it to be maintained in the near future.

Migration guide:

Consider using service-utils for easier migration.

  • Use Node >= 20
  • Replace preq (deprecated) with fetch (native)
  • Replace bluebird (no longer maintained) with Promise (native)
  • Replace istanbul (deprecated) with nyc (maintained)

Optional

See also:

Topics