{"id":21107772,"url":"https://github.com/stealjs/platform","last_synced_at":"2025-03-14T09:23:32.420Z","repository":{"id":33690106,"uuid":"37342896","full_name":"stealjs/platform","owner":"stealjs","description":"Detects which platform is being used","archived":false,"fork":false,"pushed_at":"2017-07-22T01:03:47.000Z","size":5,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-07T14:07:12.519Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/steal-platform","language":"JavaScript","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/stealjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-12T20:25:50.000Z","updated_at":"2018-12-28T00:46:47.000Z","dependencies_parsed_at":"2022-08-29T18:30:34.961Z","dependency_job_id":null,"html_url":"https://github.com/stealjs/platform","commit_stats":null,"previous_names":["donejs/platform"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stealjs%2Fplatform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stealjs%2Fplatform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stealjs%2Fplatform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stealjs%2Fplatform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stealjs","download_url":"https://codeload.github.com/stealjs/platform/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243551706,"owners_count":20309394,"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-11-20T00:42:23.462Z","updated_at":"2025-03-14T09:23:32.377Z","avatar_url":"https://github.com/stealjs.png","language":"JavaScript","readme":"# steal-platform\n\nDetects common platforms. Use when special logic is needed (such as needing to specify a full URL for Ajax requests when using Cordova.\n\n## Install\n\n```shell\nnpm install steal-platform --save\n```\n\n## Use\n\n```js\nvar platform = require(\"steal-platform\");\n\nif(platform.isDesktopBrowser) {\n ...\n}\n```\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstealjs%2Fplatform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstealjs%2Fplatform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstealjs%2Fplatform/lists"}