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: Creating Own Chat GPT | dev.to | 2023-09-15

    For the backend, we chose Python, Django Rest Framework. On the frontend, React, Redux, Saga, Sass. Let’s start with the backend, which was managed by Yegor. He writes about the server part of the project himself.

  • session

    Simple session middleware for Express

    Project mention: How to use Twitter OAuth 2.0 and Passport.js for user login | dev.to | 2022-11-24

    Passport needs to be initialized as middleware as well. And it requires a session middleware for storing state and user data. The most common session middleware is express-session.

  • Amplication

    Amplication: open-source Node.js backend code generator. An open-source platform that helps developers build backends without spending time on boilerplate & repetitive coding. Including production-ready GraphQL & REST APIs, DB schema, DTOs, filtering, pagination, RBAC, & more.

  • cors

    Node.js CORS middleware

    Project mention: Building Desktop Applications with Tauri, Nextjs, Firebase | dev.to | 2023-02-26

    // https://www.npmjs.com/package/nextjs-cors import NextCors from 'nextjs-cors'; async function handler(req, res) { // Run the cors middleware // nextjs-cors uses the cors package, so we invite you to check the documentation https://github.com/expressjs/cors await NextCors(req, res, { // Options methods: ['GET', 'HEAD', 'PUT', 'PATCH', 'POST', 'DELETE'], origin: '*', optionsSuccessStatus: 200, // some legacy browsers (IE11, various SmartTVs) choke on 204 }); // Rest of the API logic res.json({ message: 'Hello NextJs Cors!' }); }

  • body-parser

    Node.js body parsing middleware

    Project mention: I built a ready-to-use auth server with TypeScript and Express.js | /r/node | 2023-03-22
  • Neutrino

    Create and build modern JavaScript projects with zero initial configuration.

  • Grant

    OAuth Proxy

  • express-status-monitor

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

    Project mention: 7 Best Tools for Monitoring Node.js Servers | dev.to | 2022-12-11

    Express.js is the de-facto framework of choice for Node.js developers. Express Status Monitor is an incredibly simple, self-hosted module, you add to your Express server. It exposes a /status route that reports real-time server metrics with the help of Socket.io and Chart.js.

  • Appwrite

    Appwrite - The open-source backend cloud platform. The open-source backend cloud platform for developing Web, Mobile, and Flutter applications. You can set up your backend faster with real-time APIs for authentication, databases, file storage, cloud functions, and much more!

  • middy

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

    Project mention: Go Lambda Middlewae | /r/golang | 2023-08-26

    Is there any equivalent to Node based https://middy.js.org/ for Golang?

  • 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

    Project mention: Express Slashing Syndrome, the trailing slash and other topics | dev.to | 2022-11-09

    Extensions vs Directory Express issue

  • apicache

    Simple API-caching middleware for Express/Node.

  • 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

  • strapi-middleware-cache

    :electric_plug: A cache middleware for https://strapi.io

  • oas-tools

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

  • SurveyJS

    A Non-Cloud Alternative to Google Forms that has it all.. SurveyJS JavaScript libraries allow you to easily set up a robust form management system fully integrated into your IT infrastructure where users can create and edit multiple dynamic JSON-based forms in a no-code form builder. Learn more now.

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 2023-09-15.

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,477
2 session 6,053
3 cors 5,852
4 body-parser 5,323
5 Neutrino 3,955
6 Grant 3,926
7 express-status-monitor 3,530
8 middy 3,475
9 compression 2,685
10 webpack-dev-middleware 2,463
11 webpack-hot-middleware 2,334
12 cookie-parser 1,872
13 express-fileupload 1,462
14 redux-search 1,406
15 serve-static 1,348
16 apicache 1,191
17 cookie-session 1,083
18 react-redux-loading-bar 928
19 restana 439
20 Expressa 416
21 express-basic-auth 315
22 strapi-middleware-cache 285
23 oas-tools 192
Write Clean JavaScript Code. Always.
Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
www.sonarsource.com