Displaying 1 to 15 from 15 results

redux-promise-middleware - Enables simple, yet robust handling of async action creators in Redux

  •    Javascript

Redux Promise Middleware enables simple, yet robust handling of async action creators in Redux. Given a single action with an async payload, the middleware transforms the action to a separate a pending action and a separate fulfilled/rejected action, representing the states of the async action.

ts-express-decorators - :triangular_ruler: A TypeScript Framework on top of Express

  •    TypeScript

Ts.ED is a framework on top of Express to write your application with TypeScript (or in ES6). It provides a lot of decorators to write your code. Important! TsExpressDecorators requires Node >= 6, Express >= 4, TypeScript >= 2.0 and the experimentalDecorators, emitDecoratorMetadata, types and lib compilation options in your tsconfig.json file.

middie - Middleware engine for Fastify.

  •    Javascript

middie is the module that add middlewares support on steroids to Fastify. The syntax style is the same as express/connect. Does not support the full syntax middleware(err, req, res, next), because error handling is done inside Fastify.




http-protection - This library protects against typical web attacks

  •    Crystal

This library protects against typical web attacks. It was inspired in rack-protection Ruby gem. It protects against Denial-of-service attacks. You can define a several options for this middleware.

nodejs - Everything related to the Node.js ecosystem for the commercetools platform.

  •    Javascript

Node.js commercetools ecosystem. The commercetools nodejs repo is managed as a monorepo and contains different npm packages.

comws - koa-like generator middlewares for any apps (not just webserver!)

  •    Javascript

Expressive middleware for node.js using generators via co to make node applications more enjoyable to write. Comws middleware flow in a stack-like manner exactly like koa ones. Use of generators also greatly increases the readability and robustness of your application. Comws is supported in all versions of node > 4.


overnight - TypeScript decorators for the ExpressJS Server.

  •    TypeScript

OvernightJS is a clean simple library to add TypeScript decorators for methods meant to call Express routes. OvernightJS isn't meant to be a replacement for Express. If you're already somewhat familiar with ExpressJS, you can learn Overnight in about 10 minutes. There are some other frameworks which do add decorators for Express such as NestJS and TsExpressDecorators, but these are massive frameworks with entire websites dedicated to their documentation. OvernightJS is clean, simple, and aside from the decorators, you can interact with ExpressJS in the same way you would any other Node application.

atreugo - fasthttp micro-framework to make simple the use of routing and middlewares

  •    Go

Micro-framework to make simple the use of routing and middlewares in fasthttp. Best Performance: Atreugo is one of the fastest go web frameworks in the go-web-framework-benchmark.

wretch-middlewares - Collection of middlewares for the Wretch library. 🎁

  •    TypeScript

Prevents having multiple identical requests on the fly at the same time. If skip returns true, then the dedupe check is skipped.

nest-middlewares - Common, injectable middlewares for NestJS

  •    TypeScript

Add the most common Express middlewares to your Nest app with one line. Take the name of your favorite Express middleware and prefix it with @nest-middlewares/.

koa-decorators - :art: Decorate koa

  •    Javascript

Use decorators as single-controller-level koa middlewares or define some meta data for the controller, for now only support koa 2. Specified the router information for the controller.

redux-dynamic-modules - Modularize Redux by dynamically loading reducers and middlewares.

  •    TypeScript

redux-dynamic-modules is a library that aims to make Redux Reducers and middleware easy to modular-ize and add/remove dynamically. In large Javascript applications, it is often desired to perform some kind of code-splitting, so that the initial script size is small. However, in Redux, you are required to define your reducers and middleware up-front; there is no good way to dynamically add/remove these constructs at runtime.

nodecache-as-promised - In-memory cache supporting promise based workers and middleware hooks (distributed expiry and persistence provided)

  •    Javascript

Sometimes Node.js needs to do some heavy lifting, performing CPU or network intensive tasks and yet respond quickly on incoming requests. For repetitive tasks like Server side rendering of markup or parsing big JSON responses caching can give the application a great performance boost. Since many requests may hit the server concurrently, you do not want more than one worker to run for a given resource at the same time. In addition - serving stale content when a backend resource is down may save your day! The intention of nodecache-as-promised is to give you a fairly simple interface, yet powerful application cache, with fine-grained control over caching behaviour. nodecache-as-promised is inspired by how Varnish works. It is not intended to replace Varnish (but works great in combination). Whereas Varnish is a high-performant edge/burst/failover cache, working as a reverse proxy and loadbalancer, it depends on a fast backend when configured with short a cache window (ie. TTL ~1s). It uses URLs in combination with cookies as keys for its cached content. Since there are no restrictions on conformant URLs/cookies for clients requesting content, it is quite easy to bust it's cache without any security measures. nodecache-as-promised on the other hand is running at application level for more strict handling of cache keys, and may use many different caches and policies on how the web page is built.