# time-inspector

> NodeJS time inspector

Latest version **1.1.2** (published 2019-02-18) · MIT license · 0 weekly downloads

## Install

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

## 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.1.2 |
| Published | 2019-02-18 |
| First published | 2017-08-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | oprogramador |
| Maintainers | oprogramador |
| Keywords | time, inspector, stopwatch |

## Links

- npm: https://www.npmjs.com/package/time-inspector
- Repository: https://github.com/oprogramador/time-inspector
- Homepage: https://github.com/oprogramador/time-inspector#readme
- Issues: https://github.com/oprogramador/time-inspector/issues
- npm.io page: https://npm.io/package/time-inspector

## 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.1.2 (latest) — 2019-02-18
- 1.1.1 — 2019-02-18
- 1.1.0 — 2018-05-08
- 1.0.5 — 2018-01-25
- 1.0.4 — 2018-01-23
- 1.0.2 — 2017-08-12
- 1.0.1 — 2017-08-12
- 1.0.0 — 2017-08-12

## README

# time-inspector

[![MIT License](https://img.shields.io/badge/license-mit-green.svg?style=flat-square)](https://opensource.org/licenses/MIT)
[![Build Status](https://travis-ci.org/oprogramador/time-inspector.svg?branch=master)](https://travis-ci.org/oprogramador/time-inspector
)

[![NPM status](https://nodei.co/npm/time-inspector.png?downloads=true&stars=true)](https://npmjs.org/package/time-inspector
)

NodeJS time inspector allowing very easy detection of bottlenecks.

## install
`npm i --save-dev time-inspector`

## usage
```js
const time = require('time-inspector').default;

time(); // for the first call it returns 0
foo();
console.log(time()); // it returns the time (in seconds with nanoseconds precision) elapsed from the previous call
bar();
console.log(time()); // again it returns the time elapsed from the previous call
```

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