Skip to content

Commit

Permalink
feat: Update README.md
Browse files Browse the repository at this point in the history
Merge pull request #8 from matzar/matzar-patch-1
  • Loading branch information
matzar committed May 23, 2022
2 parents 022b793 + d1268c2 commit e3448e9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
![Snyk Vulnerabilities for npm package](https://img.shields.io/snyk/vulnerabilities/npm/time-to-seconds)
[![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)


[![Build history](https://buildstats.info/travisci/chart/matzar/time-to-seconds?branch=master)](https://github.com/matzar/time-to-seconds/)

Non-strict format, time to seconds converter.
Unopinionated time to seconds converter that lets you decide the format of your `h:m:s`; as long as you keep the number of colons between `0` and `2` it does not matter if you use `"hh:mm:ss"`, `"h:m:s"` or `"hhh:mmmm:ssss"` format - you will always get the number of seconds back as an integer.

## Installation

Expand All @@ -27,7 +28,7 @@ $ npm i time-to-seconds

## Usage

Pass time in a string format as, e.g.:
Pass time as a string, e.g.:

- `"h:m:s"`
- `"m:s"`
Expand Down

0 comments on commit e3448e9

Please sign in to comment.