# popup-clock

> Popup timepicker component

Latest version **3.0.1** (published 2026-02-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install popup-clock
pnpm add popup-clock
yarn add popup-clock
bun add popup-clock
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: esm support; no vulnerabilities; has provenance.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 3.0.1 |
| Published | 2026-02-22 |
| First published | 2017-02-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 2 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 4 |
| Author | Damian Krzeminski |
| Maintainers | pirxpilot |
| Keywords | browser |

## Links

- npm: https://www.npmjs.com/package/popup-clock
- Repository: https://github.com/pirxpilot/popup-clock
- Homepage: https://github.com/pirxpilot/popup-clock#readme
- Issues: https://github.com/pirxpilot/popup-clock/issues
- npm.io page: https://npm.io/package/popup-clock

## Dependencies (2)

- [popup-picker](https://npm.io/package/popup-picker.md) ~3
- [component-clock](https://npm.io/package/component-clock.md) ~3

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 3.0.1 (latest) — 2026-02-22
- 3.0.0 — 2025-04-27
- 2.0.1 — 2024-01-30
- 2.0.0 — 2018-11-30
- 1.3.2 — 2017-02-23

## README

[![NPM version][npm-image]][npm-url]
[![Build Status][build-image]][build-url]
[![Dependency Status][deps-image]][deps-url]

# popup-clock

  Time picker ui component for [popup-clock]

  Click [here](http://pirxpilot.github.io/popup-clock/) to see online demo.

## Installation

    $ npm install popup-clock

## Example

```js
var Timepicker = require('popup-clock');
var el = document.querySelector('[name=time]');
new Timepicker(el, options)
  .clock
  .on('change', function(v) {
    el.value = (v.hour || '0') + ':' + (v.minute || '00');
  });
```

## API

### new Timepicker(el)

Create a new Timepicker attached to `el` input DOM node

### Timepicker.clock

[clock][popup-clock] reference

## License

  MIT

[popup-clock]: https://npmjs.org/package/popup-clock

[npm-image]: https://img.shields.io/npm/v/popup-clock
[npm-url]: https://npmjs.org/package/popup-clock

[build-url]: https://github.com/pirxpilot/popup-clock/actions/workflows/check.yaml
[build-image]: https://img.shields.io/github/actions/workflow/status/pirxpilot/popup-clock/check.yaml?branch=main

[deps-image]: https://img.shields.io/librariesio/release/npm/popup-clock
[deps-url]: https://libraries.io/npm/popup-clock

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