Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/popomore/duration-time

A wrapper for process.hrtime
https://github.com/popomore/duration-time

Last synced: about 2 months ago
JSON representation

A wrapper for process.hrtime

Awesome Lists containing this project

README

        

# duration-time

A wrapper for process.hrtime

---

## Install

```
$ npm install duration-time -g
```

## Usage

```
var duration = require('duration-time');
duration.start('a');
doSomeAsync(function() {
duration.end('a'); // return time between intervals
})
```

## LISENCE

Copyright (c) 2014 popomore. Licensed under the MIT license.