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

fancy-log

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fancy-log - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

4

index.js

@@ -6,6 +6,6 @@ 'use strict';

var chalk = require('chalk');
var dateformat = require('dateformat');
var timestamp = require('time-stamp');
function getTimestamp(){
return '['+chalk.grey(dateformat(new Date(), 'HH:MM:ss'))+']';
return '['+chalk.grey(timestamp('HH:mm:ss'))+']';
}

@@ -12,0 +12,0 @@

{
"name": "fancy-log",
"version": "1.1.0",
"version": "1.2.0",
"description": "Log things, prefixed with a timestamp",

@@ -22,3 +22,3 @@ "author": "Blaine Bublitz <blaine@iceddev.com> (http://iceddev.com)",

"chalk": "^1.1.1",
"dateformat": "^1.0.11"
"time-stamp": "^1.0.0"
},

@@ -25,0 +25,0 @@ "devDependencies": {

# fancy-log
[![Travis Build Status](https://img.shields.io/travis/phated/fancy-log.svg?branch=master&label=travis&style=flat-square)](https://travis-ci.org/phated/fancy-log)
[![Travis Build Status](https://img.shields.io/travis/js-cli/fancy-log.svg?branch=master&label=travis&style=flat-square)](https://travis-ci.org/js-cli/fancy-log)

@@ -5,0 +5,0 @@ Log things, prefixed with a timestamp

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