# @midwayjs/faas

> Midway Framework for FaaS (Function as a Service)

Latest version **4.2.6** (published 2026-10-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install @midwayjs/faas
pnpm add @midwayjs/faas
yarn add @midwayjs/faas
bun add @midwayjs/faas
```

## Health

**Score 55/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 4.2.6 |
| Published | 2026-10-18 |
| First published | 2019-12-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7755 |
| Maintainers | czy88840616, legendecas, echosoar, lellansin, lxxyx, stone-jin, mariodu |
| Keywords | serverless, faas, k8s, cloud native, aliyun, tencent, midway, aws, lambda |

## Links

- npm: https://www.npmjs.com/package/@midwayjs/faas
- Repository: https://github.com/midwayjs/midway
- Homepage: https://github.com/midwayjs/midway#readme
- Issues: https://github.com/midwayjs/midway/issues
- npm.io page: https://npm.io/package/@midwayjs/faas

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 4.2.6 (latest) — 2026-10-18
- 4.0.1-beta.1 (beta) — 2026-04-02
- 4.0.0-alpha.1 (alpha) — 2024-12-15
- 3.0.0-alpha.42 (alinode-stable) — 2021-09-23
- 3.0.0-alpha.2 (canary) — 2021-08-05
- 2.3.6 (next) — 2020-10-02
- 4.2.5 — 2026-10-06
- 4.2.3 — 2026-09-06
- 4.2.1 — 2026-06-14
- 4.1.0 — 2026-05-03
- 3.20.24 — 2026-04-25
- 4.0.3 — 2026-04-12
- 3.20.23 — 2026-04-09
- 4.0.2 — 2026-04-06
- 4.0.1 — 2026-04-05
- … 382 more at https://npm.io/package/@midwayjs/faas/versions

## README

# Midway FaaS

![](https://img.alicdn.com/tfs/TB1HdniCSf2gK0jSZFPXXXsopXa-1000-353.png)

<p align="center">
  <a href="https://www.npmjs.com/package/@midwayjs/faas" alt="npm version">
    <img src="https://img.shields.io/npm/v/@midwayjs/faas.svg?style=flat" />
  </a>
  <a href="./LICENSE" alt="GitHub license">
    <img src="https://img.shields.io/badge/license-MIT-blue.svg" />
  </a>
  <a href="https://github.com/midwayjs/midway-faas/actions?query=workflow%3A%22Node.js+CI%22" alt="Node.js CI">
    <img src="https://img.shields.io/badge/Node.js%20CI-passing-brightgreen" />
  </a>
  <a href="https://github.com/midwayjs/midway-faas" alt="Activity">
    <img src="https://img.shields.io/github/commit-activity/m/midwayjs/midway-faas" />
  </a>
  <a href="https://github.com/midwayjs/midway-faas/graphs/contributors" alt="Contributors">
    <img src="https://img.shields.io/github/contributors/midwayjs/midway-faas" />
  </a>
  <a href="https://gitpod.io/#https://github.com/midwayjs/midway-faas" alt="Gitpod Ready-to-Code">
    <img src="https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod" />
  </a>
</p>

Midway FaaS is the Serverless framework used to build Node.js cloud functions. Helps you significantly reduce maintenance costs and focus more on product development in the cloud-native era.

- **Cross-cloud vendor**: One code can be deployed quickly across multiple cloud platforms, so you don't have to worry about your product being tied to a cloud vendor.
- **Code reuse**: Through the framework's dependency injection capability, each part of the logical unit is naturally reusable and can be quickly and easily combined to generate complex applications.
- **Traditional Migration**: Through the framework's runtime scalability, traditional applications such as Egg.js, Koa, Express.js and others can be seamlessly migrated to the cloud functions of various cloud vendors.

## Document

- Guide [中文](https://www.yuque.com/midwayjs/faas) and [English](https://www.yuque.com/midwayjs/faas/quick_start?translate=en)

## License

Midway FaaS is [MIT licensed](./LICENSE).

---
_Source: https://npm.io/package/@midwayjs/faas · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
