Flyd URL object stream
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
index.es6
index.js
package.json

README.md

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'

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