Socket
Book a DemoInstallSign in
Socket

fundebug-nodejs

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fundebug-nodejs

monitor errors of nodejs application

latest
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

Fundebug的Node.js错误监控插件

实时监控Node.js应用的错误,助您提升用户体验

####安装

npm install fundebug-nodejs

####使用

var fundebug=require("fundebug-nodejs");
fundebug.apikey="YOUR-APIKEY"

其中,获取apikey需要免费注册帐号并且创建项目

####监测Express

app.use(fundebug.ExpressErrorHandler);

####监测Koa

app.on("error", fundebug.KoaErrorHandler);

####监测Hapi

server.on("request-error", fundebug.HapiErrorHandler);
server.on("response", fundebug.HapiErrorHandler);

Keywords

nodejs

FAQs

Package last updated on 24 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts