Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
namedays-cs
Advanced tools
Simple library to get Czech name days (jmeniny
, svátek
) for a given date.
All functions are available in the main module. You can import them like this:
import * as namedays from 'namedays-cs';
There are basically two functions to get getting name days.
The first one returns a string of name days separated by
a
letter. The second one returns an array of name days.
import {getNameDay, getNameDayArray} from 'namedays-cs';
const date = new Date(2024, 11, 24); // 24. december 2024
// String of name days
getNameDay(date); // Adam a Eva
getNameDay(date, ', '); // Adam, Eva
// Array of name days
getNameDayArray(date); // ['Adam', 'Eva']
It is possible that there are no name days for a given date:
import {getNameDay, getNameDayArray} from 'namedays-cs';
const date = new Date(2024, 11, 25); // 25. december 2024
getNameDay(date); // '' (empty string)
getNameDayArray(date); // [] (empty array)
MIT
FAQs
Simple library to get Czech name days (jmeniny, svátek) for a given date.
The npm package namedays-cs receives a total of 8 weekly downloads. As such, namedays-cs popularity was classified as not popular.
We found that namedays-cs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.