Skip to content

OzzyCzech/international-days-cs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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