Big update!Announcing Socket for GitHub 1.0. Learn more
Socket
BlogLoveFAQ
Install
Log in

methods

Package Overview
Dependencies
0
Maintainers
4
Versions
7
Issues
File Explorer

Advanced tools

methods

HTTP methods that node supports

    1.1.2latest

Version published
Maintainers
4
Weekly downloads
24,554,577
decreased by-3.69%

Weekly downloads

Readme

Source

Methods

NPM Version NPM Downloads Node.js Version Build Status Test Coverage

HTTP verbs that Node.js core's HTTP parser supports.

This module provides an export that is just like http.METHODS from Node.js core, with the following differences:

  • All method names are lower-cased.
  • Contains a fallback list of methods for Node.js versions that do not have a http.METHODS export (0.10 and lower).
  • Provides the fallback list when using tools like browserify without pulling in the http shim module.

Install

$ npm install methods

API

var methods = require('methods')

methods

This is an array of lower-cased method names that Node.js supports. If Node.js provides the http.METHODS export, then this is the same array lower-cased, otherwise it is a snapshot of the verbs from Node.js 0.10.

License

MIT

Keywords

FAQs

What is methods?

HTTP methods that node supports

Is methods popular?

The npm package methods receives a total of 19,748,549 weekly downloads. As such, methods popularity was classified as popular.

Is methods well maintained?

We found that methods demonstrated a not healthy version release cadence and project activity. It has 4 open source maintainers collaborating on the project.

Last updated on 18 Jan 2016
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc