# @time-input-polyfill/utils

> A library of helper functions designed to make the building of time input polyfill components easier.

Latest version **2.0.0** (published 2023-06-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install @time-input-polyfill/utils
pnpm add @time-input-polyfill/utils
yarn add @time-input-polyfill/utils
bun add @time-input-polyfill/utils
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2023-06-18 |
| First published | 2020-08-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 565.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Daniel |
| Maintainers | dan503 |
| Keywords | time, input, polyfill, helpers, utility, util, library |

## Links

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

## Alternatives

- [@js-joda/timezone](https://npm.io/package/@js-joda/timezone.md) — 383.4K weekly downloads
- [chartjs-adapter-moment](https://npm.io/package/chartjs-adapter-moment.md) — 210.8K weekly downloads
- [strftime](https://npm.io/package/strftime.md) — 171.2K weekly downloads
- [vue-flatpickr-component](https://npm.io/package/vue-flatpickr-component.md) — 115.8K weekly downloads
- [timepicker](https://npm.io/package/timepicker.md) — 51.0K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2023-06-18
- 2.0.0-beta.15 (beta) — 2023-06-18
- 1.0.5-beta.8 — 2023-06-17
- 1.0.5-beta.7 — 2023-06-15
- 1.0.5-beta.6 — 2023-06-15
- 1.0.5-beta.5 — 2023-06-15
- 1.0.5-beta.4 — 2023-04-15
- 1.0.5-beta.3 — 2023-04-15
- 1.0.5-beta.2 — 2023-04-15
- 1.0.5-beta.1 — 2023-04-15
- 1.0.5-beta.0 — 2023-04-15
- 2.0.0-beta.14 — 2022-03-27
- 2.0.0-beta.13 — 2022-03-26
- 2.0.0-beta.12 — 2022-03-26
- 2.0.0-beta.11 — 2022-03-26
- … 36 more at https://npm.io/package/@time-input-polyfill/utils/versions

## README

# time-input-polyfill-utils

A library of helper functions designed to make the building of time input polyfill components easier.

When building the React Component version of the polyfill, I realised that there was a huge amount of functionality that could have been shared between the original time input polyfill and the new React component. I didn't really build the original polyfill in a way that made sharing functionality easy though.

This utility library is designed to make as much of the functionality as sharable as possible between different implementations. It also features robust testing using cypress to make sure that no nasty bugs creep their way into the code base.

## Installation

Installed through npm:

```
npm install @time-input-polyfill/utils
```

[View on the npm website](https://www.npmjs.com/package/@time-input-polyfill/utils).

## Testing

`npm run start` to open the Cypress ui and then you can run the unit tests from there.

`npm run test` to run the tests in a terminal instead.

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