hirestime

  • Version 6.1.0
  • Published
  • 7.76 kB
  • No dependencies
  • MIT license

Install

npm i hirestime
yarn add hirestime
pnpm add hirestime

Overview

thin wrapper around process.hrtime

Index

Functions

function hirestime

hirestime: () => Elapsor;

    function hiresTimeBrowserDate

    hiresTimeBrowserDate: () => Elapsor;

      function hiresTimeBrowserPerformance

      hiresTimeBrowserPerformance: () => Elapsor;

        function hirestimeNode

        hirestimeNode: () => Elapsor;

          Interfaces

          interface Elapsor

          interface Elapsor {}

            property startedAt

            startedAt: () => number;

              method microseconds

              microseconds: () => number;

                method milliseconds

                milliseconds: () => number;

                  method ms

                  ms: () => number;

                    method nanoseconds

                    nanoseconds: () => number;

                      method ns

                      ns: () => number;

                        method s

                        s: () => number;

                          method seconds

                          seconds: () => number;

                            method us

                            us: () => number;

                              call signature

                              (): number;

                                Package Files (1)

                                Dependencies (0)

                                No dependencies.

                                Dev Dependencies (12)

                                Peer Dependencies (0)

                                No peer dependencies.

                                Badge

                                To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/hirestime.

                                • Markdown
                                  [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/hirestime)
                                • HTML
                                  <a href="https://www.jsdocs.io/package/hirestime"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>