rmv-wait-times

Simple node module to get Massachusetts RMV wait times

Usage no npm install needed!

<script type="module">
  import rmvWaitTimes from 'https://cdn.skypack.dev/rmv-wait-times';
</script>

README

RMV Wait Times

A simple node module to get Massachusetts RMV wait times.

Install

npm install rmv-wait-times

Usage

var waitTimes = require('rmv-wait-times');

waitTimes(function (err, result) {
  console.dir(result);
  /*
   [
     {
       town: 'Attleboro',
       licensing: '00:54:30',
       registration: '00:36:58'
     },
     {
       town: 'Boston',
       licensing: '01:20:00',
       registration: '02:29:48'
     },
     ...
   ]
  */
});

Testing

npm test