ml-zones

Deal with zones

Usage no npm install needed!

<script type="module">
  import mlZones from 'https://cdn.skypack.dev/ml-zones';
</script>

README

ml-zones

NPM version build status npm download

Deal with zones.

Installation

$ npm i ml-zones

Usage

import Zones from 'ml-zones';

let result = Zones.normalize([
  { from: 0, to: 2 },
  { from: 1, to: 5 },
]);

// result = [{from:0, to:5}]

API Documentation

License

MIT