Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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.
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.