@jswork/next-clock2time

Clock(lrc/srt) to time for next.

Usage no npm install needed!

<script type="module">
  import jsworkNextClock2time from 'https://cdn.skypack.dev/@jswork/next-clock2time';
</script>

README

next-clock2time

Clock(lrc/srt) to time for next.

version license size download

installation

npm install -S @jswork/next-clock2time

usage

import '@jswork/next-clock2time';

// srt clock:
nx.clock2time('00:00:03,776')   //3776

// lrc clock:
nx.clock2time('00:12.120')      //12120

resources

license

Code released under the MIT license.