Displaying 1 to 20 from 52 results

connect - Connect is a middleware layer for Node.js

  •    Javascript

Connect is an extensible HTTP server framework for node using "plugins" known as middleware. Connect is a simple framework to glue together various "middleware" to handle requests.

body-parser - Node.js body parsing middleware

  •    Javascript

Node.js body parsing middleware. Parse incoming request bodies in a middleware before your handlers, available under the req.body property.

compression - Node.js compression middleware

  •    Javascript

Node.js compression middleware. Returns the compression middleware using the given options. The middleware will attempt to compress response bodies for all request that traverse through the middleware, based on the given options.

cookie-parser - Parse HTTP request cookies

  •    Javascript

Parse Cookie header and populate req.cookies with an object keyed by the cookie names. Optionally you may enable signed cookie support by passing a secret string, which assigns req.secret so it may be used by other middleware. Parse a cookie value as a JSON cookie. This will return the parsed JSON value if it was a JSON cookie, otherwise it will return the passed value.




cors - Node.js CORS middleware

  •    Javascript

CORS is a node.js package for providing a Connect/Express middleware that can be used to enable CORS with various options. For details on the effect of each CORS header, read this article on HTML5 Rocks.

csurf - CSRF token middleware

  •    Javascript

Node.js CSRF protection middleware. Requires either a session middleware or cookie-parser to be initialized first.

morgan - HTTP request logger middleware for node.js

  •    Javascript

Named after Dexter, a show you should not watch until completion. Create a new morgan logger middleware function using the given format and options. The format argument may be a string of a predefined name (see below for the names), a string of a format string, or a function that will produce a log entry.

serve-static - Serve static files

  •    Javascript

Create a new middleware function to serve files from within a given root directory. The file to serve will be determined by combining req.url with the provided root directory. When a file is not found, instead of sending a 404 response, this module will instead call next() to move on to the next middleware, allowing for stacking and fall-backs. Enable or disable accepting ranged requests, defaults to true. Disabling this will not send Accept-Ranges and ignore the contents of the Range request header.


session - Simple session middleware for Express

  •    Javascript

Create a session middleware with the given options. Note Session data is not saved in the cookie itself, just the session ID. Session data is stored server-side.

zan-proxy - An extensible proxy for PC/Mobile/APP developer

  •    Vue

Zan Proxy is an HTTP proxy server written in Node.js, which can be used to modify requests and mock reponse data. It is also a tool for custom DNS resolving and requests monitoring. The proxy server can be easily configured by a user-friendly interface. In addition, a mechanism is provided for developers to customize the behavior of the server. The website for management will be opened automatically.

cookie-session - Simple cookie-based session middleware

  •    Javascript

Simple cookie-based session middleware. A user session can be stored in two main ways with cookies: on the server or on the client. This module stores the session data on the client within a cookie, while a module like express-session stores only a session identifier on the client within a cookie and stores the session data on the server, typically in a database.

serve-favicon - favicon serving middleware

  •    Javascript

Node.js middleware for serving a favicon. A favicon is a visual cue that client software, like browsers, use to identify a site. For an example and more information, please visit the Wikipedia article on favicons.

vhost - virtual domain hosting

  •    Javascript

Create a new middleware function to hand off request to handle when the incoming host for the request matches hostname. The function is called as handle(req, res, next), like a standard middleware. hostname can be a string or a RegExp object. When hostname is a string it can contain * to match 1 or more characters in that section of the hostname. When hostname is a RegExp, it will be forced to case-insensitive (since hostnames are) and will be forced to match based on the start and end of the hostname.

method-override - Override HTTP verbs.

  •    Javascript

Lets you use HTTP verbs such as PUT or DELETE in places where the client doesn't support it. NOTE It is very important that this module is used before any module that needs to know the method of the request (for example, it must be used prior to the csurf module).

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.

Home - Project Glimpse: Node Edition - Spend less time debugging and more time developing.

  •    

Glimpse is an experimental npm package that gives you in-depth insights about the client and server sides of your Node.js apps. More efficient debugging means faster development. Best of all, it’s free.Full details and documentation available at http://node.getglimpse.com.

errorhandler - Development-only error handler middleware

  •    Javascript

Development-only error handler middleware. This middleware is only intended to be used in a development environment, as the full error stack traces and internal details of any object passed to this module will be sent back to the client when an error occurs.

response-time - Response time header for node.js

  •    Javascript

Response time for Node.js servers. This module creates a middleware that records the response time for requests in HTTP servers. The "response time" is defined here as the elapsed time from when a request enters this middleware to when the headers are written out to the client.