Fetches Stihl product data.
npm install fetch-stihl-products
const fetchStihlProducts = require('fetch-stihl-products');
const data = await fetchStihlProducts();
Returns an array of Stihl products and scraped data.
Type: Array
SKUs to return data for.
Type: Object
Type: string
Default: https://hutsonmayfield.stihldealer.net
Stihl dealer URL to fetch from.
Type: string
Default: sitemap.xml
Sitemap file to fetch from.
Type: Object
Headers to pass when fetching.
Type: function
Default: require('bluebird')
Use a custom Promise
implementation.
Type: boolean
Default: false
Encode HTML entities with he
.
MIT © Hutson Inc