Latest Threat Research:Malicious dYdX Packages Published to npm and PyPI After Maintainer Compromise.Details
Socket
Book a DemoInstallSign in
Socket

pad-date

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pad-date

simply create padded date strings

Source
npmnpm
Version
0.0.0
Version published
Maintainers
1
Created
Source

node-paded-date

simply create padded date strings


var paddedDate = require('padded-date')

console.log(paddedDate(new Date()))


prints


{ day: '04',
  month: '09',
  year: 2013,
  hours: '11',
  minutes: '30',
  seconds: '47' }

there are a few helpers i use alot hanging off of the main export,

paddedDate.fileDate

2013-09-04_113355

paddedDate.dbDate

2013-09-04 11:33:55

FAQs

Package last updated on 04 Sep 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts