# @types/methods

> TypeScript definitions for methods

Latest version **1.1.4** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/methods
pnpm add @types/methods
yarn add @types/methods
bun add @types/methods
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.1.4 |
| Published | 2023-11-07 |
| First published | 2017-06-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51432 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/methods
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/methods
- npm.io page: https://npm.io/package/@types/methods

## Recent versions

- 1.1.4 (latest) — 2023-11-07
- 1.1.1 (ts2.8) — 2020-03-14
- 1.1.0 (ts2.0) — 2017-06-23
- 1.1.3 — 2023-10-18
- 1.1.2 — 2023-09-27

## README

# Installation
> `npm install --save @types/methods`

# Summary
This package contains type definitions for methods (https://github.com/jshttp/methods).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/methods.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/methods/index.d.ts)
````ts
type Method =
    | "ACL"
    | "BIND"
    | "CHECKOUT"
    | "CONNECT"
    | "COPY"
    | "DELETE"
    | "GET"
    | "HEAD"
    | "LINK"
    | "LOCK"
    | "M-SEARCH"
    | "MERGE"
    | "MKACTIVITY"
    | "MKCALENDAR"
    | "MKCOL"
    | "MOVE"
    | "NOTIFY"
    | "OPTIONS"
    | "PATCH"
    | "POST"
    | "PROPFIND"
    | "PROPPATCH"
    | "PURGE"
    | "PUT"
    | "REBIND"
    | "REPORT"
    | "SEARCH"
    | "SOURCE"
    | "SUBSCRIBE"
    | "TRACE"
    | "UNBIND"
    | "UNLINK"
    | "UNLOCK"
    | "UNSUBSCRIBE"
    | "acl"
    | "bind"
    | "checkout"
    | "connect"
    | "copy"
    | "delete"
    | "get"
    | "head"
    | "link"
    | "lock"
    | "m-search"
    | "merge"
    | "mkactivity"
    | "mkcalendar"
    | "mkcol"
    | "move"
    | "notify"
    | "options"
    | "patch"
    | "post"
    | "propfind"
    | "proppatch"
    | "purge"
    | "put"
    | "rebind"
    | "report"
    | "search"
    | "source"
    | "subscribe"
    | "trace"
    | "unbind"
    | "unlink"
    | "unlock"
    | "unsubscribe";

declare const methods: Method[];
export = methods;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [Carlos Precioso](https://github.com/cprecioso), and [Michel Bitter](https://github.com/michelbitter).

---
_Source: https://npm.io/package/@types/methods · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
