{"id":29647259,"url":"https://github.com/samuelmaddock/linux-os-release","last_synced_at":"2025-07-22T03:07:09.698Z","repository":{"id":303652117,"uuid":"1016266365","full_name":"samuelmaddock/linux-os-release","owner":"samuelmaddock","description":"Reads Linux operating system identification data","archived":false,"fork":false,"pushed_at":"2025-07-08T18:36:07.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-08T18:52:48.585Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samuelmaddock.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-07-08T18:35:01.000Z","updated_at":"2025-07-08T18:36:11.000Z","dependencies_parsed_at":"2025-07-08T19:05:20.086Z","dependency_job_id":null,"html_url":"https://github.com/samuelmaddock/linux-os-release","commit_stats":null,"previous_names":["samuelmaddock/linux-os-release"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samuelmaddock/linux-os-release","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelmaddock%2Flinux-os-release","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelmaddock%2Flinux-os-release/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelmaddock%2Flinux-os-release/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelmaddock%2Flinux-os-release/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samuelmaddock","download_url":"https://codeload.github.com/samuelmaddock/linux-os-release/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelmaddock%2Flinux-os-release/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266417124,"owners_count":23925301,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-07-22T03:07:09.049Z","updated_at":"2025-07-22T03:07:09.668Z","avatar_url":"https://github.com/samuelmaddock.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# linux-os-release\n\nA Node.js library for reading Linux operating system identification data from `/etc/os-release` and `/usr/lib/os-release` files according to the [freedesktop.org specification](https://www.freedesktop.org/software/systemd/man/latest/os-release.html).\n\n## Installation\n\n```bash\nnpm install linux-os-release\n```\n\n## Usage\n\n```js\nimport { readLinuxOSReleaseInfo } from 'linux-os-release';\n\n// Read OS release info from standard locations\nconst osInfo = await readLinuxOSReleaseInfo();\nconsole.log(osInfo);\n// Output example:\n// {\n//   NAME: 'Ubuntu',\n//   VERSION: '20.04.1 LTS (Focal Fossa)',\n//   ID: 'ubuntu',\n//   ID_LIKE: 'debian',\n//   PRETTY_NAME: 'Ubuntu 20.04.1 LTS',\n//   VERSION_ID: '20.04',\n//   HOME_URL: 'https://www.ubuntu.com/',\n//   SUPPORT_URL: 'https://help.ubuntu.com/',\n//   BUG_REPORT_URL: 'https://bugs.launchpad.net/ubuntu/',\n//   PRIVACY_POLICY_URL: 'https://www.ubuntu.com/legal/terms-and-policies/privacy-policy',\n//   VERSION_CODENAME: 'focal',\n//   UBUNTU_CODENAME: 'focal'\n// }\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelmaddock%2Flinux-os-release","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuelmaddock%2Flinux-os-release","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelmaddock%2Flinux-os-release/lists"}