UNPKG

kc-timespan

Version:

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

15 lines (12 loc) 220 B
# Timespan [js] Returns an extract of unix time that changes each S seconds. ### Install ``` npm install kc-timespan ``` ### Use ```js var timeSpan = require('kc-timespan'); var ts = timeSpan(5); console.log(ts); ```