1.0.0 • Published 5 months ago
@misung-dev/mydaybox v1.0.0
myday-box
A collection of helper functions for formatting and manipulating dates, written in TypeScript.
Features
formatDate: Format a date into a localized string (e.g. "2024년 5월 16일")isWeekend: Check if a date is Saturday or SundaygetDayName: Get the day of the week (e.g. "월요일")
Demo
Installation
npm install mydayboxUsage
import { formatDate, isWeekend, getDayName } from 'mydaybox';
const today = new Date();
console.log(formatDate(today)); // "2024년 5월 16일"
console.log(isWeekend(today));  // false
console.log(getDayName(today)); // "월요일"Running Tests
npm testContributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
MIT © 
1.0.0
5 months ago