Socket
Socket
Sign inDemoInstall

router

Package Overview
Dependencies
6
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    router

Simple middleware-style router


Version published
Weekly downloads
602K
decreased by-2.95%
Maintainers
1
Install size
98.4 kB
Created
Weekly downloads
 

Readme

Source

router

NPM Version NPM Downloads Node.js Version Build Status Test Coverage

Simple middleware-style router

Installation

$ npm install router

API

var Router = require('router')

This module is currently an extracted version from the Express 4.x project, but with the main change being it can be used with a plain http.createServer object or something like connect by removing Express-specific API calls.

Documentation is forthcoming, but the Express 4.x documentation can be found at http://expressjs.com/4x/api.html#router

Testing

$ npm test

License

MIT

FAQs

Last updated on 17 Nov 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc