Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/popomore/duration-time
- Owner: popomore
- Created: 2014-03-11T08:44:54.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-03-11T08:45:47.000Z (almost 11 years ago)
- Last Synced: 2024-10-16T21:23:19.462Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 97.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
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.