1.0.1 • Published 10 months ago
namedays-cs v1.0.1
Name Days (cs)
Simple library to get Czech name days (jmeniny, svátek) for a given date.
Functions
You can import the whole module or just specific functions:
import * as namedays from 'namedays-cs';
import {getNameDay} from 'namedays-cs';Getting Name Days
You can get name days for a given date:
import {getNameDay} from 'namedays-cs';
const date = new Date(2024, 11, 24); // 24. december 2024
// Get name days for a given date
getNameDay(date); // ['Adam', 'Eva']
getNameDay(date).join(' a '); // Adam a EvaIt is possible that there are no name days for a given date:
import {getNameDay} from 'namedays-cs';
const date = new Date(2024, 11, 25); // 25. december 2024
getNameDay(date); // [] (empty array)Credits
License
1.0.1
10 months ago
1.0.0
11 months ago
0.1.12
1 year ago
0.1.10
1 year ago
0.1.11
1 year ago
0.1.9
1 year ago
0.1.2
1 year ago
0.1.1
1 year ago
0.1.8
1 year ago
0.1.7
1 year ago
0.1.4
1 year ago
0.1.3
1 year ago
0.1.6
1 year ago
0.1.5
1 year ago
0.0.14
2 years ago
0.1.0
2 years ago
0.0.12
2 years ago
0.0.13
2 years ago
0.0.11
2 years ago
0.0.10
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago