The fastest, zero dependency and smallest express style node router

Usage no npm install needed!

<script type="module">
  import ey from 'https://cdn.skypack.dev/ey';


Ey 🐭 How can i serve you?

The fastest, zero dependency, small express style node router.

Ey supports plain string, regex, and parameterized routes. It also returns a simple (req, res) function to infinitely nest apps in your routing as you please.

Should be compatible with most express / connect packages like body-parser, serve-static and finalhandler.

Getting started

const ey = require('ey')
    , http = require('http')

const app = ey()

  .get('/', (req, res) => res.end('Hello World.'))
  .get('/users', getUsers)
  .get('/users/:userId', getUsers)
  .delete('/users/:userId', deleteUser)
  .post('/users', createUser)
  .put('/users/:userId', updateUser)


More documentation under way