express-router-methods
v1.0.3
Published
List of methods that are being used for express router api handling (like get, post, put, ...) from express.Router()
Downloads
9
Maintainers
Readme
Express Router Methods
List of methods that are being used for express router api handling (from express.Router()):
- acl
- all
- bind
- checkout
- connect
- copy
- delete
- get
- head
- link
- lock
- m-search
- merge
- mkactivity
- mkcalendar
- mkcol
- move
- notify
- options
- param
- patch
- post
- propfind
- proppatch
- purge
- put
- rebind
- report
- search
- subscribe
- trace
- unbind
- unlink
- unlock
- unsubscribe
- use
Install
npm install --save express-router-methods
or with yarn:
yarn add express-router-methods
Usage
import methods from 'express-router-methods'
console.log(methods)
/*
[
'acl',
'all',
'bind',
'checkout',
'connect',
'copy',
'delete',
'get',
'head',
'link',
'lock',
'm-search',
'merge',
'mkactivity',
'mkcalendar',
'mkcol',
'move',
'notify',
'options',
'param',
'patch',
'post',
'propfind',
'proppatch',
'purge',
'put',
'rebind',
'report',
'search',
'subscribe',
'trace',
'unbind',
'unlink',
'unlock',
'unsubscribe',
'use',
]
*/