koa-onerror : koa error handler, hack ctx.onerror. You can installing koa-onerror npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install koa-onerror $ sudo npm install -g koa-onerror
If want to update the koa-onerror package execute the command as below,
$ sudo npm update koa-onerror
Update package globally,
$ npm install -g koa-onerror
$ sudo git clone https://github.com/rektide/koa-onerror.git
$ sudo npm install -g ./koa-onerror
koa-onerror@4.0.0 /usr/lib/node_modules/koa-onerror
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall koa-onerror
Package Name | koa-onerror |
Version | 4.0.0 |
Description | koa error handler, hack ctx.onerror |
Released Date | 2017-11-09T15:46:49.313Z |
Published by | dead_horse |
How to Learn | https://www.npmjs.com/package/koa-onerror/tutorial |