flyd-url

0.0.1 • Public • Published

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
)

Readme

Keywords

Package Sidebar

Install

npm i flyd-url

Weekly Downloads

2

Version

0.0.1

License

MIT

Last publish

Collaborators

  • jayrbolton
  • the_swerve