console-timestamp
Advanced tools
Comparing version 0.1.4 to 0.1.5
{ | ||
"name": "console-timestamp", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Simple date formatter for logging purposes", | ||
@@ -18,5 +18,3 @@ "main": "console-timestamp.js", | ||
], | ||
"author": { | ||
"name": "Adam Paszke" | ||
}, | ||
"author": "Adam Paszke", | ||
"license": "MIT", | ||
@@ -26,10 +24,3 @@ "bugs": { | ||
}, | ||
"homepage": "https://github.com/wesolyromek/console-timestamp", | ||
"readme": "console-timestamp\n=================\n\nIt's a simple date formatter for Node.js. Perfect for logging.\n\nThere's one function: ```timestamp()```\n\nYou can call it with a string argument which becomes the format (defaults to ```hh:mm:ss```). It replaces specific parts of this string:\n\n* ```YYYY``` with 4-digit Year\n* ```YY``` with 2-digit Year\n* ```MM``` with Month\n* ```DD``` with Day\n* ```hh``` with Hours\n* ```mm``` with Minutes\n* ```ss``` with Seconds\n* ```iii``` with Miliseconds\n\nExamples\n=================\n\n```javascript\nconsole.log(timestamp()); //15:43:20\nconsole.log(timestamp('DD-MM-YYYY hh:mm:ss:iii')); //04-07-2014 14:32:45:891\nconsole.log(timestamp('[SERVER TIME hh:mm] message: ')); //[SERVER TIME 14:23] message: \n```", | ||
"readmeFilename": "README.md", | ||
"_id": "console-timestamp@0.1.3", | ||
"dist": { | ||
"shasum": "5798163d7013c5448c128f5f31fc4c4a3d5219d0" | ||
}, | ||
"_from": "console-timestamp/" | ||
"homepage": "https://github.com/wesolyromek/console-timestamp" | ||
} |
3166