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

find-a-day

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

find-a-day - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "find-a-day",
"version": "1.0.2",
"version": "1.0.3",
"description": "find a day which is given date-of-birth",

@@ -5,0 +5,0 @@ "main": "index.cjs",

@@ -13,2 +13,6 @@ # find-a-day

```
## Format
```bash
Format: 'DD-MM-YYYY' or 'DD/MM/YYYY'
```

@@ -19,5 +23,5 @@ ## Usage

// Example usage:
const dateOfBirth = '15-08-1947'; // Format: DD-MM-YYYY
const dateOfBirth = '15-08-1947'; // Format: 'DD-MM-YYYY' or 'DD/MM/YYYY'
const dayOfWeek = getDayOfBirth(dateOfBirth);
console.log('Birth day is:', dayOfWeek); // Birth day is: Friday
```
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