Socket
Socket
Sign inDemoInstall

time-now

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

time-now - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

tests/time-now.js

2

component.json

@@ -5,3 +5,3 @@ {

"description": "Returns a timestamp using Performance.now or Date.now",
"version": "0.1.0",
"version": "0.2.0",
"keywords": ["date", "timestamp", "now", "current", "time"],

@@ -8,0 +8,0 @@ "dependencies": {},

'use strict';
module.exports = (function() {
var perf = window.performance;
var perf = window && window.performance;
if (perf && perf.now) {

@@ -6,0 +6,0 @@ return perf.now.bind(perf);

{
"name": "time-now",
"version": "0.1.0",
"version": "0.2.0",
"description": "Returns a timestamp using Performance.now or Date.now",

@@ -10,3 +10,11 @@ "main": "index.js",

},
"keywords": [ "date", "time", "now", "performance" ],
"scripts": {
"test": "node ./node_modules/testling/bin/cmd.js"
},
"keywords": [
"date",
"time",
"now",
"performance"
],
"author": "kewah",

@@ -17,3 +25,20 @@ "license": "MIT",

},
"homepage": "https://github.com/nk-components/time-now"
"homepage": "https://github.com/nk-components/time-now",
"devDependencies": {
"tape": "~2.3.2",
"testling": "~1.5.6"
},
"testling": {
"files": "tests/*.js",
"browsers": [
"ie/6..latest",
"chrome/28..latest",
"firefox/22..latest",
"safari/latest",
"opera/11.0..latest",
"iphone/6",
"ipad/6",
"android-browser/4.2"
]
}
}
[![browser support](https://ci.testling.com/nk-components/time-now.png)](https://ci.testling.com/nk-components/time-now)
# time-now

@@ -8,2 +10,4 @@

$ npm install time-now
Install with [component(1)](http://component.io):

@@ -10,0 +14,0 @@

Sorry, the diff of this file is not supported yet

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