Comparing version 1.0.3 to 1.0.4
dateLog = function (msg) { | ||
if(typeof msg != "string") { | ||
msg = JSON.stringify(msg); | ||
} | ||
console.log(myDate() + " " + msg); | ||
@@ -5,0 +9,0 @@ |
@@ -7,3 +7,3 @@ { | ||
"description": "Writes to console.log with date and time", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"main": "datelog.js", | ||
@@ -10,0 +10,0 @@ "keywords": [ |
@@ -6,2 +6,7 @@ datelog | ||
``` | ||
var print = require("datelog"); | ||
print("Hello world"); | ||
``` | ||
1329
20
12