Skip to content

claydotio/location-router

 
 

Repository files navigation

LocationRouter

LocationRouter = require 'location-router'
router = new LocationRouter()

# Change url paths
router.go '/test'
router.go '/other_page'

# listen for url path changes
# returns RxJS Observable
router.getStream().subscribe (req) ->
  {url, path, query, hostname} = req

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CoffeeScript 100.0%