JavaScript Middleware

Open-source JavaScript projects categorized as Middleware

Top 23 JavaScript Middleware Projects

  • redux-saga

    An alternative side effect model for Redux apps

  • Project mention: Main-Thread-Scheduling | news.ycombinator.com | 2024-01-04
  • session

    Simple session middleware for Express

  • Project mention: express-session issues with firefox? | /r/node | 2023-12-10

    https://github.com/expressjs/session/issues/360 this is an issue I think that's very close to mine, no concrete solutions though..

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • cors

    Node.js CORS middleware

  • body-parser

    Node.js body parsing middleware

  • Project mention: NodeJS Security Best Practices | dev.to | 2024-02-19

    Using body-parser you can set the limit on the size of the payload

  • Grant

    OAuth Proxy

  • Project mention: Most stable and easy to implement Auth with SvelteKit? | /r/sveltejs | 2023-12-05
  • middy

    🛵 The stylish Node.js middleware engine for AWS Lambda 🛵

  • Project mention: Clean authorization control in serverless functions | dev.to | 2023-11-28

    In many cases, you will have to write the same authorization code in multiple functions. For example, you might want to check that the user is in the requested organization. You can share this code in a middleware. If you are using AWS Lambda, you can rely on middy.

  • express-status-monitor

    🚀 Realtime Monitoring solution for Node.js/Express.js apps, inspired by status.github.com, sponsored by https://dynobase.dev

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • compression

    Node.js compression middleware

  • webpack-dev-middleware

    A development middleware for webpack

  • Project mention: Serving react statically with express | /r/node | 2023-04-29

    Are you using webpack? If so, they have a middleware for exactly this case: https://github.com/webpack/webpack-dev-middleware. The example there should be added to your express script with some form of conditional statement to use express.static in your deployment and webpack-dev-middleware in dev.

  • webpack-hot-middleware

    Webpack hot reloading you can attach to your own server

  • express-fileupload

    Simple express file upload middleware that wraps around busboy

  • serve-static

    Serve static files

  • apicache

    Simple API-caching middleware for Express/Node.

  • Project mention: Stop using JSON Web Tokens for user sessions | news.ycombinator.com | 2023-11-25

    The lack of logout and XSS are problems, but I ran into a couple apps that completely forgot to expire sessions due to lacking framework support. In nodejs's cookie-session and @google-cloud/connect-firestore sessions never expire. This issue impacts downstream software including, awkwardly enough, Google's Passkey demo apps. There isn't interest in fixing this.

    Make sure your app is actually using a JWT framework, not a lesser version, and implements basic security practices.

    [1] https://github.com/expressjs/cookie-session

    [2] https://github.com/googleapis/nodejs-firestore-session

  • react-redux-loading-bar

    Loading Bar (aka Progress Bar) for Redux and React

  • restana

    Restana is a lightweight and fast Node.js framework for building RESTful APIs.

  • Expressa

    API creation middleware with an admin interface

  • express-basic-auth

    Plug & play basic auth middleware for express

  • oas-tools

    NodeJS module to manage RESTful APIs defined with OpenAPI 3.0 Specs over express servers.

  • koa-hbs

    Handlebars templates for Koa.js

  • graphbrainz

    A fully-featured GraphQL interface for the MusicBrainz API.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-02-19.

JavaScript Middleware related posts

Index

What are some of the best open-source Middleware projects in JavaScript? This list will help you:

Project Stars
1 redux-saga 22,506
2 session 6,170
3 cors 5,964
4 body-parser 5,381
5 Grant 4,025
6 middy 3,627
7 express-status-monitor 3,569
8 compression 2,723
9 webpack-dev-middleware 2,469
10 webpack-hot-middleware 2,336
11 cookie-parser 1,914
12 express-fileupload 1,505
13 redux-search 1,401
14 serve-static 1,368
15 apicache 1,216
16 cookie-session 1,105
17 react-redux-loading-bar 935
18 restana 452
19 Expressa 428
20 express-basic-auth 320
21 oas-tools 200
22 koa-hbs 158
23 graphbrainz 153
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com