# tmer

> Simple timer for Node.js and browser

Latest version **1.4.7** (published 2018-09-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install tmer
pnpm add tmer
yarn add tmer
bun add tmer
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.4.7 |
| Published | 2018-09-04 |
| First published | 2016-03-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8 |
| Dependencies | 0 |
| Unpacked size | 11.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Ricardo Ferro |
| Maintainers | rferro |
| Keywords | benchmark, benchmarking, hrtime, profile, time, timeEnd, timeStart, timer |

## Links

- npm: https://www.npmjs.com/package/tmer
- Repository: https://github.com/rferro/tmer
- Homepage: https://github.com/rferro/tmer#readme
- Issues: https://github.com/rferro/tmer/issues
- npm.io page: https://npm.io/package/tmer

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

- 1.4.7 (latest) — 2018-09-04
- 1.4.5 — 2018-09-04
- 1.4.4 — 2018-09-04
- 1.4.3 — 2018-09-04
- 1.4.2 — 2018-09-04
- 1.4.1 — 2018-09-04
- 1.3.5 — 2018-09-04
- 1.3.4 — 2018-09-04
- 1.3.3 — 2018-09-04
- 1.3.2 — 2018-09-04
- 1.3.1 — 2018-09-04
- 1.3.0 — 2018-09-04
- 1.1.0 — 2018-09-03
- 0.1.0 — 2018-06-11
- 0.0.1 — 2016-03-22

## README

# tmer

Simple timer for node.js

[![NPM](https://nodei.co/npm/tmer.png?downloads=true&downloadRank=true)](https://nodei.co/npm/tmer)

## Install

```sh
npm install --save tmer
```

## Example

```javascript

var tmer = require('tmer');

var start = tmer();

setTimeout(function () {
  console.log(start()); // out: ~2000
  console.log(start(true)); // out: '2s'
}, 2000);

```

## License

```
(The MIT License)

Copyright (c) 2015 Ricardo Ferro <ricardo.ferro@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
```

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