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

format-date

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

format-date - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1-security

35

package.json
{
"name": "format-date",
"version": "0.0.0",
"description": "Takes a string and a date object, returns what you expect",
"version": "0.0.1-security",
"description": "",
"main": "index.js",
"scripts": {
"test": "node test"
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"date",
"datetime",
"strftime",
"format",
"time"
],
"repository": {
"url": "git@github.com:azer/format-date.git",
"type": "git"
"type": "git",
"url": "git+https://github.com/npm/security-holder.git"
},
"author": "azer",
"license": "BSD",
"dependencies": {
"format-text": "0.0.3",
"left-pad": "0.0.3",
"days": "^0.1.0",
"months": "^0.1.0"
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/npm/security-holder/issues"
},
"devDependencies": {
"prova": "^1.14.2"
}
}
"homepage": "https://github.com/npm/security-holder#readme"
}

@@ -1,37 +0,9 @@

## format-date
# Security holding package
Takes a string and a date object, returns what you expect
This package name is not currently in use, but was formerly occupied
by a popular package. To avoid malicious use, npm is hanging on to
the package name, but loosely, and we'll probably give it to you if
you want it.
Example:
```js
var formatDate = require('format-date')
formatDate('{month}/{day}/{year}', new Date);
// => 21/09/2014
formatDate('{hours}:{minutes}:{seconds} {day-name}', new Date);
// => 13:30:53 Monday
formatDate('{month-name} {year}')
// => January 2014
```
## Install
```bash
$ npm install format-date
```
## Reference
```js
* day
* day-name
* month
* month-name
* year
* hours
* minutes
* seconds
```
You may adopt this package by contacting support@npmjs.com and
requesting the name.
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