# video-time-parser

> video-time-parser is ued to parse time in web viedo.

Latest version **0.2.0** (published 2019-08-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install video-time-parser
pnpm add video-time-parser
yarn add video-time-parser
bun add video-time-parser
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2019-08-04 |
| First published | 2019-07-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8 |
| Dependencies | 1 |
| Unpacked size | 3.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | qiurenbo |
| Maintainers | qiurenbo |
| Keywords | unicorn, fun |

## Links

- npm: https://www.npmjs.com/package/video-time-parser
- Repository: https://github.com/qiurenbo/video-time-parser
- Homepage: https://github.com/qiurenbo/video-time-parser#readme
- Issues: https://github.com/qiurenbo/video-time-parser/issues
- npm.io page: https://npm.io/package/video-time-parser

## Dependencies (1)

- [is-helper](https://npm.io/package/is-helper.md) ^0.2.0

## Recent versions

- 0.2.0 (latest) — 2019-08-04
- 0.1.0 — 2019-07-27

## README

# video-time-parser [![npm version](https://badge.fury.io/js/video-time-parser.svg)](https://badge.fury.io/js/video-time-parser)[![Build Status](https://travis-ci.com/qiurenbo/video-time-parser.svg?branch=master)](https://travis-ci.com/qiurenbo/video-time-parser)

## Install

```
$ npm install video-time-parser
```

## Usage

```js
const parser = require("video-time-parser");

time = parser("1:23:24");

//time.hours == 1
//time.minutes == 23
//time.seconds == 24
//time.duration == 5004
```

## API

### parser(input, options?)

#### input

Type: `string`

#### options

Type: `object`

##### return

Type: `object`

```
{
	hours: <number>
	minutes:<number>
	seconds:<number>
	duration:<number>
}
```

---
_Source: https://npm.io/package/video-time-parser · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
