Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fast-gateway

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-gateway

A Node.js API Gateway for the masses!

  • 3.3.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
968
decreased by-35.6%
Maintainers
1
Weekly downloads
 
Created
Source

Introduction

tests NPM version NPM Total Downloads License TypeScript support Github stars

A super fast, framework agnostic Node.js API Gateway for the masses ❤️
Docker images: https://hub.docker.com/repository/docker/kyberneees/rproxy

Since v2.3.0, AWS Lambda proxying integration is supported via http-lambda-proxy 🔥
Since v3.1.0, WebSockets proxying is supported via faye-websocket 🔥

Read more online:

Install

npm i fast-gateway

Usage

Gateway

const gateway = require('fast-gateway')
const server = gateway({
  routes: [{
    prefix: '/service',
    target: 'http://127.0.0.1:3000'
  }]
})

server.start(8080)

Remote Service

const service = require('restana')()
service.get('/get', (req, res) => res.send('Hello World!'))

service.start(3000)

Testing

curl -v http://127.0.0.1:8080/service/get

More

Keywords

FAQs

Package last updated on 21 Apr 2022

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc