1.1.3 • Published 6 years ago

escalade-price-store v1.1.3

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

escalade-price-store

An event-based store system for getting Escalade Sports pricing. Stores all fetched prices in a cookie for quick retrieval.

Installation

yarn add escalade-price-store

Usage

import PriceStore from 'escalade-price-store'

const priceStore = new PriceStore({
	site: `goalrilla`,
	ids: [ `ID1`, `ID2` ]
})

function allChanged(prices){
	console.log(prices)
}

priceStore.addEvent(allChanged)

priceStore.removeEvent(allChanged)
1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.9

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago