Flyd URL object stream
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

This gives you a stream of url data for the page. Every time the url changes you will get a new url data object on the stream.

The url data object comes from the url npm module. Please reference documentation for that module to handle the url objects on the stream

import flyd from 'flyd'
import urlStream from 'flyd-url'
  url => console.log('Url has been updated: ', url)
, urlStream