# time-meter

> Music time signatures

Latest version **0.3.0** (published 2015-05-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install time-meter
pnpm add time-meter
yarn add time-meter
bun add time-meter
```

## 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.3.0 |
| Published | 2015-05-28 |
| First published | 2015-05-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | danigb |
| Maintainers | danigb |
| Keywords | music, time, events, time, signature |

## Links

- npm: https://www.npmjs.com/package/time-meter
- Repository: https://github.com/danigb/time-meter
- Issues: https://github.com/danigb/time-meter/issues
- npm.io page: https://npm.io/package/time-meter

## 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

- 0.3.0 (latest) — 2015-05-28
- 0.2.0 — 2015-05-19
- 0.1.0 — 2015-05-18

## README

# time-meter

Music time signatures in javascript.

```js
var time = require('time-meter');
meter = time("4/4");
meter.beats;        // => 4
meter.subdivision;  // => 4
meter.measure;      // => 1
```

In combination with [note-duration](http://github.com/danigb/note-duration) you
can do things like this:

```js
var duration = require('note-duration');
var time = require('time-meter');

// You can have 8 quarters inside a 4/4 measure
duration(time(4/4).measure / 8); // => 'q' (8 quarters in a 4/4 measure)
duration(time(3/4).measure / 2); // => 'q.' (2 quarters with dot in a 3/4 measure)
```

## License

MIT License

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