# @twiz/time

> Twiz javascript time utilities

Latest version **0.2.3** (published 2017-11-01) · MIT license · 0 weekly downloads

## Install

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

## 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.3 |
| Published | 2017-11-01 |
| First published | 2017-07-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | José Carneiro |
| Maintainers | josecarneiro, twiz |

## Links

- npm: https://www.npmjs.com/package/@twiz/time
- npm.io page: https://npm.io/package/@twiz/time

## Dependencies (1)

- [@twiz/eslint-config-twiz](https://npm.io/package/@twiz/eslint-config-twiz.md) ^0.1.9

## Recent versions

- 0.2.3 (latest) — 2017-11-01
- 0.2.2 — 2017-10-09
- 0.2.1 — 2017-07-01

## README

# Twiz Time

### Instant Class

Instant represents a specific point in time.

Takes an object with several possible formats:

* Object
* `Date` javascript object

### Interval Class

Represents the interval between two points in time.

---

### Duration Class

Represents a length of time. Eg. 1 month, 1 day.

---

### Period Class

Something that happens in a repetitive pattern. Like New year's day.

---

## To do:

* Implement Duration or Period Class
* Write Missing Tests

---

Inspired by [Maggie Pint's "Temporal Proposal"](https://github.com/maggiepint/proposal-temporal).

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