🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

koa-vconsole

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-vconsole

开发环境自动注入 vconsole 中间件

latest
Source
npmnpm
Version
0.1.3
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

koa-vconsole

npm version Build Status Coverage Status npm downloads codebeat badge

开发环境 HTML 请求自动添加 vconsole koa 中间件

Installing

$ npm install koa-vconsole -D

Example

const vConsole = require('koa-vconsole');

app.use(vConsole());

Config

{
  //URL匹配规则,默认匹配所有请求
  test: /[\s\S]*/, //defalut
  //排除请求路径
  exclude: [], //defalut
  //自定义 vconsole 路径
  vConsoleUrl: 'https://unpkg.com/vconsole/dist/vconsole.min.js' //defalut
}

Keywords

koa

FAQs

Package last updated on 31 Aug 2021

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