Socket
Book a DemoInstallSign in
Socket

bird-proxy-middleware

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bird-proxy-middleware

bird-proxy-middleware is a proxy server with cas auth built in, and allows to easily mock requests

0.0.20
latest
Source
npmnpm
Version published
Weekly downloads
20
Maintainers
1
Weekly downloads
 
Created
Source

bird-proxy-middleware

npm NPM

bird-proxy-middleware 内置了具有 cas 认证的代理服务器,并可以轻松地实现mock数据以及静态资源

快速上手

安装

npm install --save bird-proxy-middleware

推荐在你的项目中创建一个 bird/ 文件夹, 并下载配置模板:

mkdir bird
git clone https://github.com/AngusYang9/bird-proxy-middleware-configs.git bird

其中, birdfile.js 为你的 bird 配置文件。

模板中已标明详细的配置参数说明,download it !

作为中间件使用

注意!! 最好把bird放置在所有其他的中间件或request handler后面

var bird = require('bird-proxy-middleware')

...

// 假设 app 是一个 express 服务器对象
app.all('*', bird('./bird/birdfile.js'))

...

plugin

  • 大象慧云信息技术有限公司
  • ele-cloud-3-0
  • ele-cloud-3-1
  • ele-cloud-3-2
  • ele-cloud-brc

定制登录认证 plugin,请联系me🤝

FAQs

Package last updated on 23 Mar 2020

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.