keq-proxy
TypeScript icon, indicating that this package has built-in type declarations

1.2.2 • Public • Published

keq-proxy

version downloads license dependencies coveralls

Change the request url, just like a proxy.

Usage

import { request } from 'keq'
import proxy from 'keq-proxy'

// Host Proxy
request.use(proxy('example.com', 'expect.com'))

// OR
request.use(proxy(/http:\/\/example.com/, 'http://expect.com'))

Contributing & Development

If there is any doubt, it is very welcome to discuss the issue together. Please read Contributor Covenant Code of Conduct and CONTRIBUTING.

Readme

Keywords

Package Sidebar

Install

npm i keq-proxy

Weekly Downloads

11

Version

1.2.2

License

MIT

Unpacked Size

20.3 kB

Total Files

23

Last publish

Collaborators

  • val.istar.guo