1.0.0 • Published 3 years ago

@1hostjs/1.0compatibilitylayer v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

@1hostjs/1.0compatibilitylayer

what is it

a compatibility layer to make modules made for 1.x.x to work in 2.x.x

config

module

this is where the path/module name to the module should go

{
  "module": "./1xxErrorHandler"
  // ...
}

version

this is the version passed to the 1.x.x module

{
  // ...
  "version": "1.1.6"
}

errorhandler

this is the path/module name to your 2.0.0 error handler

{
  // ...
  "errorhandler": "./error.js"
}

other keys

other keys are passed to the 1.x.x module