express-unset-route
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

express unset route

It is Hack for dynamic remove pre registered method in express.js

install

npm install express-unset-route

usage

import express from 'express'
import unset from 'express-unset-route'
 
const app = express()
const isRemoved = unset(app, '/', 'get')

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    1
  • 0.1.0
    0

Package Sidebar

Install

npm i express-unset-route

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

1.46 kB

Total Files

4

Last publish

Collaborators

  • deptno