# runtime-stopwatch

> A simple module to check current function runtime

Latest version **0.0.1** (published 2017-07-19) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install runtime-stopwatch
pnpm add runtime-stopwatch
yarn add runtime-stopwatch
bun add runtime-stopwatch
```

## 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.0.1 |
| Published | 2017-07-19 |
| First published | 2017-07-19 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Spencer Holman |
| Maintainers | saholman |
| Keywords | runtime, stopwatch, timer |

## Links

- npm: https://www.npmjs.com/package/runtime-stopwatch
- Repository: https://github.com/saholman/runtime-stopwatch
- Homepage: https://github.com/saholman/runtime-stopwatch#readme
- Issues: https://github.com/saholman/runtime-stopwatch/issues
- npm.io page: https://npm.io/package/runtime-stopwatch

## Recent versions

- 0.0.1 (latest) — 2017-07-19

## README

# runtime-stopwatch
This is a simple module to check the current runtime of your code.
## Usage
```
var watch = require('./index.js')

watch.start();

/* My long function */

console.log("milliseconds: " + watch.elapsed("ms"));
console.log("seconds: " + watch.elapsed("s"));
console.log("minutes: " + watch.elapsed("m"));
console.log("hours: " + watch.elapsed("h"));

watch.stop()
watch.reset()

```

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