{"id":19445827,"url":"https://github.com/rnmeow/longevity-js","last_synced_at":"2026-02-12T09:02:44.190Z","repository":{"id":258390989,"uuid":"874858359","full_name":"rnmeow/longevity-js","owner":"rnmeow","description":"A helper function that calculates one's age according to their birthday.","archived":false,"fork":false,"pushed_at":"2026-02-02T10:36:04.000Z","size":306,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-02T23:32:08.089Z","etag":null,"topics":["birthday","commonjs","esmodule","helper","javascript","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/longevity-js","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rnmeow.png","metadata":{"files":{"readme":"README.txt","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-18T15:34:27.000Z","updated_at":"2026-02-02T10:33:12.000Z","dependencies_parsed_at":"2025-09-11T02:27:11.014Z","dependency_job_id":"6a0f4e38-e8f2-4d78-a659-ff3821adf2e2","html_url":"https://github.com/rnmeow/longevity-js","commit_stats":null,"previous_names":["rnmeow/longevity-js"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/rnmeow/longevity-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnmeow%2Flongevity-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnmeow%2Flongevity-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnmeow%2Flongevity-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnmeow%2Flongevity-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rnmeow","download_url":"https://codeload.github.com/rnmeow/longevity-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnmeow%2Flongevity-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29362203,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["birthday","commonjs","esmodule","helper","javascript","typescript"],"created_at":"2024-11-10T16:11:50.908Z","updated_at":"2026-02-12T09:02:44.185Z","avatar_url":"https://github.com/rnmeow.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"longevity-js\n============\n\nThis is a helper function that calculates one's age according to their birthday.\n\nFor development, use Node.js v20, newer or maintaining LTS versions.\nThis package uses tsup for bundling.\n\n* Usage\n\nProvides ESM and CJS format, targeting ES2019.\nYou can simply do:\n\n\timport { calcAge } from 'longevity-js'\n\nto import as a ES module, and\n\n\tconst { calcAge } = require('longevity-js')\n\nto import as a CommonJS module.\n\n* License\n\n(C) 2024-2026, Yu-huan Kuo. Licensed under MIT.\n\n***\n\n18 OCT 2024 (LAST REVISED: 2 FEB 2026)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frnmeow%2Flongevity-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frnmeow%2Flongevity-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frnmeow%2Flongevity-js/lists"}