texas-burn-bans
v2.0.1
Published
Retrieve burn ban information for Texas
Downloads
8
Readme
texas-burn-bans
Retrieve burn ban information for Texas
Install
$ npm install texas-burn-bans
Usage
const texasBurnBans = require('texas-burn-bans');
texasBurnBans(data => {
console.log('Source XML: %s', data.source);
console.log('Title: %s', data.title);
console.log('Map of Burn Bans: %s', data.map);
console.log('Number of Burn Bans: %d', data.counties.length);
console.log('Counties with a Burn Ban: %s', data.counties.join(', '));
console.log('Author: %s', data.author);
console.log('Updated on: %s', Date(data.date));
});
Attributes
{
"source": "String (URL Endpoint)",
"title": "String",
"map": "String (URL Endpoint)",
"counties": "Array[String]",
"author": "String (Email Address)",
"date": "Date (ISO Format)"
}
License
MIT © blindman