Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inBook a demo

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,699,745
decreased by-12.01%

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,979,656 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 because the last version was released a year ago.It has 4 open source maintainers collaborating on the project.

Last updated on 18 Jan 2016

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
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