
Security News
Node.js Moves Toward Stable TypeScript Support with Amaro 1.0
Amaro 1.0 lays the groundwork for stable TypeScript support in Node.js, bringing official .ts loading closer to reality.
[](https://travis-ci.org/boycgit/ette-proxy) [](https://coveralls.io/github/boycgit/
Proxy middleware for ette. inspired by http-proxy-middleware
npm install ette-proxy --save
var proxy = require('ette-proxy');
Include the pre-built script.
<script src="./dist/index.umd.min.js"></script>
npm run build
npm test
as the mechanism of middleware, you should always put proxy middleware before your router middleware:
right way:
// 需要先挂载代理中间件,否则就错过了
app.use(proxy(proxyConfig));
// 然后再挂载路由
app.use(router.routes());
incorrect way:(will not proxy the router.routes())
// 先挂载挂载路由
app.use(router.routes());
// 后续挂载的代理功能对上述路由就不适用了
app.use(proxy(proxyConfig));
npm run doc
then open the generated out/index.html
file in your browser.
MIT.
FAQs
[](https://travis-ci.org/boycgit/ette-proxy) [](https://coveralls.io/github/boycgit/
The npm package ette-proxy receives a total of 0 weekly downloads. As such, ette-proxy popularity was classified as not popular.
We found that ette-proxy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Amaro 1.0 lays the groundwork for stable TypeScript support in Node.js, bringing official .ts loading closer to reality.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.