{"id":15311658,"url":"https://github.com/aslemammad/distro-info","last_synced_at":"2025-10-08T20:32:49.077Z","repository":{"id":105996224,"uuid":"249277714","full_name":"Aslemammad/distro-info","owner":"Aslemammad","description":"Simple Package For Get Distribution Information","archived":false,"fork":true,"pushed_at":"2020-03-27T10:09:46.000Z","size":171,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"development","last_synced_at":"2024-09-30T10:32:28.484Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"ssshojaei/distro-info","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Aslemammad.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}},"created_at":"2020-03-22T21:42:30.000Z","updated_at":"2020-03-23T07:03:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"60f5e002-e687-4d72-b5a2-581bd18e10dc","html_url":"https://github.com/Aslemammad/distro-info","commit_stats":{"total_commits":11,"total_committers":2,"mean_commits":5.5,"dds":0.4545454545454546,"last_synced_commit":"188cc4831e045b5201b103dcb9da7f899ff4486e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aslemammad%2Fdistro-info","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aslemammad%2Fdistro-info/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aslemammad%2Fdistro-info/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aslemammad%2Fdistro-info/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aslemammad","download_url":"https://codeload.github.com/Aslemammad/distro-info/tar.gz/refs/heads/development","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219877266,"owners_count":16554910,"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","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":"2024-10-01T08:34:14.738Z","updated_at":"2025-10-08T20:32:43.712Z","avatar_url":"https://github.com/Aslemammad.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Distro-Info\n\nSimple package for getting some information about distro and desktop environment\n\n## Installing\n\n**with npm**\n\n    npm i distro-info\n\n**with yarn**\n\n    yarn add distro-info\n\n## usage\n\n**require / import**\n\nCommonJS\n\n    const distro = require('distro-info')\n    // const { name, desktop } = require('distro-info')\n\n    console.log(distro.name())\n    // console.log(name());\n\nES6\n\n    import { name } from 'distro-info'\n    // import distro from 'distro-info'\n\n    console.log(name())\n    // console.log(distro.name())\n\n## Available Methods\n\n**name:**\n\n    console.log(distro.name()) //arch\n\n**desktop:**\n\n    console.log(distro.desktop()) //gnome\n\n**version:** (DE version)\n\n    console.log(distro.version()) //3.36.0\n\n**theme:**\n\n    console.log(distro.theme.background.currentBackground())    \n\t//\t'file://......'\n\tconsole.log(distro.theme.fonts.docFont())    \n\t//\t'ubuntu mono 11'\n**Cpu information:**\n\n    console.log(distro.cpu())\n    // {Architecture: 'x86_64' , ...}\n    \n\n# Contributors\nThanks for contributing.\n\u003ca href='github.com/ssshojaei'\u003eOrdinary Saleh\u003c/a\u003e Creator\n\u003ca href='github.com/Aslemammad'\u003eAsleMammad\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faslemammad%2Fdistro-info","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faslemammad%2Fdistro-info","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faslemammad%2Fdistro-info/lists"}