Skip to content

rlopez4/multi-page-router

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multi Page Router

Routing for non single page applications or applications that don't need history. Multi page router allows you to call a set of functions on page load using express style path strings (e.g. /foo/:bar).

Heavily inspired by page.js

Usage

multiPageRouter({
  'foo' : [cb1, cb2],
  'foo/:bar' : cb,
  '*' : [cb1, cb3]
})

About

Multi page routing (i.e. non SPA)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published