day-of-week-api
v1.0.3
Published
A simple Node.js API to calculate the day of the week for any given date.
Downloads
14
Maintainers
Readme
📆 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);
