alt18

A simple node.js parser for the Alt18 countdown

Usage no npm install needed!

<script type="module">
  import alt18 from 'https://cdn.skypack.dev/alt18';
</script>

README

Alt 18

A simple node.js library to parse the Alt 18 countdown from the website.

Installation

npm install alt18

Usage

var alt18 = require('alt18');
alt18.fetch(function(err, date, tracks) {
  if (err) {
    return console.error(err);
  }
  console.log(date, tracks);
});