Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

log-timestamp

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

log-timestamp - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "log-timestamp",
"description": "Prepend timestamps to functions like console.log, console.warn, etc",
"version": "0.1.0",
"version": "0.1.1",
"author": "Dave Eddy <dave@daveeddy.com> (http://www.daveeddy.com)",

@@ -6,0 +6,0 @@ "contributors": [],

@@ -25,3 +25,3 @@ log-timestamp

``` js
require('log-timestamp')(function() { 'date="' + Date.now() + '" message="%s"');
require('log-timestamp')(function() { return 'date="' + new Date().toISOString() + '" message="%s"' });
console.log('hello %s', 'world');

@@ -28,0 +28,0 @@ ```

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