# @arutkowski00/time

> Utilities & tools for time-related stuff

Latest version **1.4.0** (published 2019-03-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install @arutkowski00/time
pnpm add @arutkowski00/time
yarn add @arutkowski00/time
bun add @arutkowski00/time
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.4.0 |
| Published | 2019-03-13 |
| First published | 2018-01-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Adam Rutkowski |
| Maintainers | arutkowski00 |
| Keywords | time, js, tool, utility, helper, class |

## Links

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

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.4.0 (latest) — 2019-03-13
- 1.0.2-beta1 (beta) — 2018-04-17
- 1.3.1 — 2019-01-19
- 1.3.0 — 2018-07-16
- 1.2.0 — 2018-05-22
- 1.1.2 — 2018-04-17
- 1.1.1 — 2018-04-17
- 1.1.0 — 2018-04-17
- 1.0.1 — 2018-01-22
- 1.0.0 — 2018-01-21

## README

# time [![Build Status](https://travis-ci.org/arutkowski00/time.svg?branch=master)](https://travis-ci.org/arutkowski00/time) [![npm (scoped)](https://img.shields.io/npm/v/@arutkowski00/time.svg)](https://www.npmjs.com/package/@arutkowski00/time) [![Codacy Badge](https://api.codacy.com/project/badge/Coverage/54e59b313f7844009bb6edcf9ecb509d)](https://www.codacy.com/app/arutkowski00/time?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=arutkowski00/time&amp;utm_campaign=Badge_Coverage)
Simple **JavaScript library** for parsing, displaying and manipulating *date-agnostic* time

## Installation
Yarn:
```sh
yarn add @arutkowski00/time
```

npm:
```sh
npm install --save @arutkowski00/time
```

## Usage
Simply import `Time` class and use it:

```js
import { Time } from '@arutkowski00/time';

let time = new Time(8, 20); // 08:20
time = Time.fromString("9:40"); // 09:40
time.addMinutes(100); // 11:20
time.setHours(16); // 16:20

```

For more see [documentation](https://arutkowski00.github.io/time/)

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