List of methods that are being used for express router api handling (like get, post, put, ...) from express.Router()
npm install 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
npm install --save express-router-methods
or with yarn:
yarn add express-router-methods
``
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',
]
*/
``