{"library":"year","type":"library","category":null,"description":"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.","language":"javascript","status":"abandoned","version":"0.2.1","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install year","imports":["const year = require('year');","const currentYear = year();","const twoDigitYear = year('yy');"]},{"cmd":"yarn add year","imports":[]},{"cmd":"pnpm add year","imports":[]}],"homepage":null,"github":"https://github.com/jonschlinkert/year","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/year","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/year/compatibility"}}