open-index/open-npm huggingface dataset:
npm package: @fastdoctor/https-proxy-agent
Description: An HTTP(s) proxy `http.Agent` implementation for HTTPS
Author: Nathan Rajlich
Latest version: 1.0.0

https-proxy-agent
================
### An HTTP(s) proxy `http.Agent` implementation for HTTPS

This module provides an `http.Agent` implementation that connects to a specified
HTTP or HTTPS proxy server, and can be used with the built-in `https` module.

Specifically, this `Agent` implementation connects to an intermediary "proxy"
server and issues the [CONNECT HTTP method][CONNECT], which tells the proxy to
open a direct TCP connection to the destination server.

Since this agent implements the CONNECT HTTP method, it also works with other
protocols that use this method when connecting over proxies (i.e. WebSockets).
See the "Examples" section below for more.

Examples
--------

#### `https` module example

```ts
import * as https from 'https';
import { HttpsProxyAgent } from 'https-proxy-agent';

const agent = new HttpsProxyAgent('http://168.63.76.32:3128');

https.get('https://example.com', { agent }, (res) => {
  console.log('"response" event!', res.headers);
  res.pipe(process.stdout);
});
```

#### `ws` WebSocket connection example

```ts
import WebSocket from 'ws';
import { HttpsProxyAgent } from 'https-proxy-agent';

const agent = new HttpsProxyAgent('http://168.63.76.32:3128');
const socket = new WebSocket('ws://echo.websocket.org', { agent });

socket.on('open', function () {
  console.log('"open" event!');
  socket.send('hello world');
});

socket.on('message', function (data, flags) {
  console.log('"message" event! %j %j', data, flags);
  socket.close();
});
```

API
---

### new HttpsProxyAgent(proxy: string | URL, options?: HttpsProxyAgentOptions)

The `HttpsProxyAgent` class implements an `http.Agent` subclass that connects
to the specified "HTTP(s) proxy server" in order to proxy HTTPS and/or WebSocket
requests. This is achieved by using the [HTTP `CONNECT` method][CONNECT].

The `proxy` argument is the URL for the proxy server.

The `options` argument accepts the usual `http.Agent` constructor options, and
some additional properties:

 * `headers` - Object containing additional headers to send to the proxy server
   in the `CONNECT` request.

[CONNECT]: http://en.wikipedia.org/wiki/HTTP_tunnel#HTTP_CONNECT_Tunneling
npm package: @fasteejs/edge
Description: blazing fast web application framework
Author: pouchlabs
Latest version: 2.0.0

![fastee](https://fasteejs.top/icon.svg "fasteejs") 
# blazing fast web application framework

Built on web Standards

Fast, Lightweight,runs on any JavaScript runtime
# Features
 * fast
 * middlewares
 * already know express Yei!
 * multi-runtime
 * express ecosystem support
 * gracefully shutsdown
 * has built-in goodies

## packages
* Fastee - a blazing fast express alternative,runs on nodejs,bun and deno only.
* edge - a web application framework can serve a hono alternative,it's fast,runs on bun,deno,and workers.

# How to install Fastee
found as fasteejs

```bash
npm install fasteejs
```


## How to install Edge
found as @fasteejs/edge

```bash
npm install @fasteejs/edge
``` 
 ```bash
  npm i fasteejs
 ```
 # Fastee usage
  runs on node,bun and deno
 ```js
   import {Fastee} from "fasteejs"

   const app = new Fastee(); //uses defaults
   const app1 = new Fastee({port:4000,delay:30000}) //pass port and shutdown delay
   let server = http.createServer().listen(5000)
   const app2 = new Fastee({server,delay:30000}) //passed listening server must be already running
   app.get('/', function (req, res) {
      res.send('Hello World')
   })

app.static("static",{dotfiles:false}) //pass valid folder path and optional config

  //shutdown listener
 app.onShutdown((signal)=>{
   //call service before shutdown
   console.log("before",signal)
 })

   export {app,app1,app2}
 ```
 ## edge usage
```js
import Edge from "@fasteejs/edge" //or import {Edge} from "@fasteejs/edge"

const app = new Edge();

console.log(app)
//global wares
app.use((req,res)=>{//no next funtion required
 req.id="ware1"
},(req,res)=>{
  console.log(req.id)
  return res.json({msg:"success"})
})
//bwares route specific wares
app.use("/api",(req,res)=>{//no next funtion required
 req.id="ware1"
},(req,res)=>{
  console.log(req.id)
  return res.json({msg:"success"})
})
/*handler
a handler must return a response 
*/
app.get("/",async (req,res)=>{
  console.log(req)
  //object
  return new Response("hi from server")//or return res.text("hi edge")
})

export default app //must do
```
npm package: @fasteerjs/fasteer
Description: The documentation is coming soon, see https://fasteer.js.org. (for 1.x docs, see [1.x README](https://github.com/fasteerjs/fasteer/blob/1.x/README.md))
Author: Mia Lilian Vottus
Latest version: 3.3.0

# Fasteer.js

The documentation is coming soon, see https://fasteer.js.org. (for 1.x docs, see [1.x README](https://github.com/fasteerjs/fasteer/blob/1.x/README.md))

# Credits

2020-2021 &copy; Mia Lilian Vottus &ndash; All Rights Reserved

## Used Open Source Software

- Fastify (+ plugins)
  - https://github.com/fastify
- Glob
  - https://github.com/isaacs/node-glob
- Chalk
  - https://github.com/chalk/chalk

# License

Fasteer.js is licensed under MIT. See the LICENSE file.