New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

console-timestamp

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

console-timestamp - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

15

package.json
{
"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"
}
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