# checkduration

> To check function execution time duration

Latest version **1.0.1** (published 2021-09-03) · MIT license · 0 weekly downloads

## Install

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

## 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.0.1 |
| Published | 2021-09-03 |
| First published | 2021-09-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 9.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Aravinth Sankar B |
| Maintainers | aravinthsankar |
| Keywords | timecheck, checktimespan, duration, performance, checkDuration |

## Links

- npm: https://www.npmjs.com/package/checkduration
- npm.io page: https://npm.io/package/checkduration

## Dependencies (1)

- [moment](https://npm.io/package/moment.md) ^2.29.1

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2021-09-03
- 1.0.0 — 2021-09-01

## README

# CheckDuration

Get the time taken to execute the provided function

## Installation

```js
# using npm
npm install checkDuration
```

## Usage

```js
# using require
const { performancecheck } = require('checkDuration');

# using import
import { performancecheck } from 'checkDuration';
```

## Example
```js
    performancecheck( (a:number, b: number) => {
            return a*b;
        }, [5,100000]
    )
```

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