# @jswork/next-clock2time

> Clock(lrc/srt) to time for next.

Latest version **1.0.1** (published 2021-01-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @jswork/next-clock2time
pnpm add @jswork/next-clock2time
yarn add @jswork/next-clock2time
bun add @jswork/next-clock2time
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2021-01-09 |
| First published | 2020-11-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | afei |
| Maintainers | afeiship |
| Keywords | next, clock, lrc, mp3, srt, subtitle, time, timestamp |

## Links

- npm: https://www.npmjs.com/package/@jswork/next-clock2time
- Homepage: https://github.com/afeiship/next-clock2time
- npm.io page: https://npm.io/package/@jswork/next-clock2time

## Alternatives

- [@js-joda/timezone](https://npm.io/package/@js-joda/timezone.md) — 383.4K weekly downloads
- [chartjs-adapter-moment](https://npm.io/package/chartjs-adapter-moment.md) — 210.8K weekly downloads
- [strftime](https://npm.io/package/strftime.md) — 171.2K weekly downloads
- [vue-flatpickr-component](https://npm.io/package/vue-flatpickr-component.md) — 115.8K weekly downloads
- [timepicker](https://npm.io/package/timepicker.md) — 51.0K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2021-01-09
- 1.0.0 — 2020-11-25

## README

# next-clock2time
> Clock(lrc/srt) to time for next.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-clock2time
```

## usage
```js
import '@jswork/next-clock2time';

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

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

## resources
- https://en.wikipedia.org/wiki/LRC_(file_format)

## license
Code released under [the MIT license](https://github.com/afeiship/next-clock2time/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-clock2time
[version-url]: https://npmjs.org/package/@jswork/next-clock2time

[license-image]: https://img.shields.io/npm/l/@jswork/next-clock2time
[license-url]: https://github.com/afeiship/next-clock2time/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-clock2time
[size-url]: https://github.com/afeiship/next-clock2time/blob/master/dist/next-clock2time.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-clock2time
[download-url]: https://www.npmjs.com/package/@jswork/next-clock2time

---
_Source: https://npm.io/package/@jswork/next-clock2time · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
