New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hirestime

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hirestime - npm Package Compare versions

Comparing version 0.2.4 to 1.0.1

13

package.json
{
"name": "hirestime",
"version": "0.2.4",
"version": "1.0.1",
"description": "thin wrapper around process.hrtime",

@@ -16,3 +16,6 @@ "main": "index.js",

"hirestimer",
"milliseconds"
"milliseconds",
"seconds",
"nanoseconds",
"high resolution timer"
],

@@ -25,6 +28,6 @@ "author": "Manuel Ernst <zaphod84@gmx.de>",

"devDependencies": {
"mocha": "~1.15.1",
"chai": "~1.8.1",
"hrtimemock": "0.0.2"
"chai": "^1.9.1",
"hrtimemock": "0.0.2",
"mocha": "^1.21.4"
}
}

@@ -1,7 +0,5 @@

# hirestime
# hirestime [![Build Status](https://travis-ci.org/zaphod1984/hirestime.png)](https://travis-ci.org/zaphod1984/hirestime)
...because there aren't enough hrtime wrappers yet.
[![Build Status](https://travis-ci.org/zaphod1984/hirestime.png)](https://travis-ci.org/zaphod1984/hirestime)
[![NPM](https://nodei.co/npm/hirestime.png)](https://nodei.co/npm/hirestime/)

@@ -13,4 +11,11 @@

## Installation
````bash
npm install hirestime
````
## hirestime()
returns a function:
### returnedFunction([unit])

@@ -17,0 +22,0 @@ returns the elapsed time since the call of `hirestime` in milliseconds.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc