[js] Returns an extract of unix time that changes each S seconds.
npm install kc-timespan
var timeSpan = require('kc-timespan'); var ts = timeSpan(5); console.log(ts);