Skip to content

A fast simple client side history router - used in vader.js

License

Notifications You must be signed in to change notification settings

Postr-Inc/Kuai.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Kuai

Kuai- Means fast in Chinese(快) - kuai is a fast lightweight,simple router for SPA

import Kuai from 'Kuai' 
let kuai = new Kuai(); 
 
kuai.get('/:hello', (c) => {
     c.html(`<h1>Hello Kuai</h1`)
 })
kuai.use('/:hello', () => console.log('Middleware'))
kuai.listen()

About

A fast simple client side history router - used in vader.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published