PHP 7.4.33
Preview: README.md Size: 1.65 KB
/var/www/ai-gemini.bitkit.dk/httpdocs/node_modules/methods/README.md
# Methods

[![NPM Version][npm-image]][npm-url]
[![NPM Downloads][downloads-image]][downloads-url]
[![Node.js Version][node-version-image]][node-version-url]
[![Build Status][travis-image]][travis-url]
[![Test Coverage][coveralls-image]][coveralls-url]

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

```bash
$ npm install methods
```

## API

```js
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](LICENSE)

[npm-image]: https://img.shields.io/npm/v/methods.svg?style=flat
[npm-url]: https://npmjs.org/package/methods
[node-version-image]: https://img.shields.io/node/v/methods.svg?style=flat
[node-version-url]: https://nodejs.org/en/download/
[travis-image]: https://img.shields.io/travis/jshttp/methods.svg?style=flat
[travis-url]: https://travis-ci.org/jshttp/methods
[coveralls-image]: https://img.shields.io/coveralls/jshttp/methods.svg?style=flat
[coveralls-url]: https://coveralls.io/r/jshttp/methods?branch=master
[downloads-image]: https://img.shields.io/npm/dm/methods.svg?style=flat
[downloads-url]: https://npmjs.org/package/methods

Directory Contents

Dirs: 0 × Files: 5
Name Size Perms Modified Actions
427 B lrw-rw-r-- 2016-01-18 02:40:45
Edit Download
1.02 KB lrw-rw-r-- 2016-01-18 01:02:16
Edit Download
1.15 KB lrw-rw-r-- 2016-01-18 01:02:27
Edit Download
2.03 KB lrw-rw-r-- 2024-06-20 05:50:21
Edit Download
1.65 KB lrw-rw-r-- 2016-01-18 01:17:30
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).