Universal Router

Open source

A simple middleware-style router for isomorphic JavaScript web apps.

Become a contributor

Financial contributions

Custom contribution

Donation

Make a custom one time or recurring contribution to support this collective.
Recurring contribution

backer

Become a backer for $2.00 per month and help us sustain our activities!

Starts at

$2 USD / month

Recurring contribution

sponsor

Become a sponsor for $100.00 per month and help us sustain our activities!

Starts at

$100 USD / month

Universal Router is all of us

Our contributors 2

Everyone who has supported Universal Router. Individuals and organizations that believe in –and take ownership of– our purpose.

About

A simple middleware-style router that can be used in both client-side (e.g. React, Vue.js) and server-side applications (e.g. Node.js/Express, Koa).

Why use Universal Router?

  • It has simple code with only single path-to-regexp dependency
  • It can be used with any JavaScript framework such as React, Vue.js etc
  • It uses the same middleware approach used in Express and Koa, making it easy to learn
  • It supports both imperative and declarative routing style
  • Routes are plain javascript objects with which you can interact as you like