New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

express-results

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-results

express results middleware.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

##Express Results

###Installation

$ npm install express-results

###API ####.ok(content) Generates a 200 OK result.

#####.created(content) Generates a 201 Created result.

#####.noContent() Generates a 204 No Content result.

#####.movedPermanently(url) Generates a 301 Moved Permanently result.

#####.moveTemporarily(url) Generates a 302 Move Temporarily result.

#####.badRequest(content) Generates a 400 Bad Request result.

#####.forbidden(content) Generates a 403 Forbidden result.

#####.unauthorized(content) Generates a 401 Unauthorized result.

#####.notFound(content) Generates a 404 Not Found result.

#####.internalServerError(content) Generates a 500 Internal Server Error result.

Keywords

express.js

FAQs

Package last updated on 27 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts