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

/express-unset-route/

    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