Current Year Utility
JSON →The `year` package is a simple JavaScript utility designed to retrieve the current year, formatted as either two or four digits. Its primary function is to return `YYYY` by default or `YY` when explicitly requested. The current version, 0.2.1, was last updated in 2014, making it effectively abandoned and unmaintained. As such, there is no active release cadence, and it lacks support for modern JavaScript features like ESM. It differentiates itself through its extreme simplicity and minimal footprint, although modern alternatives offer more robust date formatting and are actively maintained. It targets Node.js environments version 0.8 and above, reflecting its age.
Traffic · last 30 days ↓87% vs prev 7d
total hits 12
actors 5 distinct systems
last hit 4h ago human
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇨🇦 Canada · 🇫🇷 France · AE
API endpoints
full doc /v1/registry/year
install /v1/registry/year/install
compatibility /v1/registry/year/compatibility