kc-timespan

[js] Returns an extract of unix time that changes each S seconds.

Usage no npm install needed!

<script type="module">
  import kcTimespan from 'https://cdn.skypack.dev/kc-timespan';
</script>

README

Timespan

[js] Returns an extract of unix time that changes each S seconds.

Install

npm install kc-timespan

Use

var timeSpan = require('kc-timespan');
var ts  = timeSpan(5);
console.log(ts);