Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.36 KB

readme.md

File metadata and controls

34 lines (22 loc) · 1.36 KB

International Days (cs)

NPM Downloads NPM Version NPM License Last Commit GitHub Workflow Status

Functions

All functions are available in the main module. You can import them like this:

import { getInternationalDays } from 'international-days-cs';

// get all international days for 01-01-2024
const days = getInternationalDays(new Date(2024, 0, 1));

console.log(days);

// or you can get all days as string

console.log(
  days.map(day => `${day.icon} ${day.name}`).join('\n')
);

Credits

License

MIT