Socket
Book a DemoInstallSign in
Socket

day-of-week-api

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

day-of-week-api

A simple Node.js API to calculate the day of the week for any given date.

1.0.3
latest
npmnpm
Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

📆 Day of the Week Calculator API

This is a simple Node.js + Express API that takes a date as input and returns the day of the week (e.g. Monday, Tuesday, etc.) for that date.

🚀 Features

  • Get the weekday of any date (past or future)
  • Validates incorrect or missing date formats
  • Simple and lightweight
const { get_day } = require("day-of-week-api");
const {date}=req.body;
const result = await get_day(date);


Keywords

date

FAQs

Package last updated on 05 Apr 2025

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.