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 stale · no recent hits
total hits 5
actors 2 distinct systems
last hit 20d ago AhrefsBot
top countries 🇨🇦 Canada · 🇩🇪 Germany
API endpoints
full doc /v1/registry/year
install /v1/registry/year/install
compatibility /v1/registry/year/compatibility