escalade-price-store

1.1.3 • Public • Published

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)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.3
    3
    • latest

Version History

Package Sidebar

Install

npm i escalade-price-store

Weekly Downloads

3

Version

1.1.3

License

MIT

Unpacked Size

256 kB

Total Files

13

Last publish

Collaborators

  • amadoa
  • dalewray
  • codevelopit
  • mastaaaron
  • escasports
  • tbaustin
  • ken85rose