# hsimp-period

> Calculates periods from seconds

Latest version **0.1.3** (published 2017-04-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install hsimp-period
pnpm add hsimp-period
yarn add hsimp-period
bun add hsimp-period
```

## 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.1.3 |
| Published | 2017-04-25 |
| First published | 2016-03-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Small Hadron Collider |
| Maintainers | smallhadroncollider |

## Links

- npm: https://www.npmjs.com/package/hsimp-period
- Repository: https://github.com/howsecureismypassword/periods
- Homepage: https://github.com/howsecureismypassword/periods#readme
- Issues: https://github.com/howsecureismypassword/periods/issues
- npm.io page: https://npm.io/package/hsimp-period

## Dependencies (1)

- [hsimp-library](https://npm.io/package/hsimp-library.md) ^0.1.2

## Recent versions

- 0.1.3 (latest) — 2017-04-25
- 0.1.2 — 2016-03-04
- 0.1.0 — 2016-03-04

## README

# How Secure Is My Password
## Periods

```javascript
var period = require("period");

console.log(period(3600).getLength()); // 1
console.log(period(3600).getSingular()); // "hour"
console.log(period(3600).getPlural()); // "hours"

console.log(period(24, "hour").getLength()); // 1
console.log(period(24, "hour").getSingular()); // "day"

console.log(period(7, "day").getLength()); // 1
console.log(period(7, "day").getPlural()); // "weeks"
```

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