
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
historical-dates
Advanced tools
JavaScript/TypeScript library for converting/calculating Roman and Easter date
JavaScript/TypeScript library for converting/calculating Roman and Easter dates. Based on Axel Findling's Roman date converter and Nikolaus A. Bär's easter date calculator.
Friend: Do dates make you nervous?
— Daniel Cousineau (@dcousineau) August 3, 2016
Me: omg yes especially when doing math across timezone boundaries
npm install historical-dates
import { calcEaster } from 'historical-dates';
let easter = calcEaster(1400, 'julian');
console.log(easter.sunday);
// 1400-4-18 (Julian)
import { RomanDate } from 'historical-dates';
let romanDate = RomanDate.fromString('prid kal. mar mdc', 'gregorian');
console.log(romanDate);
// pridie Kal. Mart. MDC
console.log(romanDate.toDate());
// 1600-2-28
import { createDate } from 'historical-dates';
let julianDate = createDate(1582, 10, 5, 'julian');
let gregorianDate = julianDate.toGregorian();
console.log(gregorianDate);
// 1582-10-15
FAQs
JavaScript/TypeScript library for converting/calculating Roman and Easter date
The npm package historical-dates receives a total of 6 weekly downloads. As such, historical-dates popularity was classified as not popular.
We found that historical-dates demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.