{"id":13519798,"url":"https://github.com/azer/environ","last_synced_at":"2025-08-03T11:32:55.160Z","repository":{"id":66734269,"uuid":"1819120","full_name":"azer/environ","owner":"azer","description":"Cross-platform environment detection library for JavaScript","archived":false,"fork":false,"pushed_at":"2012-06-24T03:17:34.000Z","size":114,"stargazers_count":32,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T07:52:00.177Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/azer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-05-29T22:22:05.000Z","updated_at":"2021-07-02T17:01:18.000Z","dependencies_parsed_at":"2023-02-20T10:30:21.776Z","dependency_job_id":null,"html_url":"https://github.com/azer/environ","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/azer/environ","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fenviron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fenviron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fenviron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fenviron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azer","download_url":"https://codeload.github.com/azer/environ/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fenviron/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268537881,"owners_count":24266283,"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-08-03T02:00:12.545Z","response_time":2577,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":"2024-08-01T05:02:03.293Z","updated_at":"2025-08-03T11:32:54.861Z","avatar_url":"https://github.com/azer.png","language":"JavaScript","readme":"Cross platform environment detection library for JavaScript. Tested platforms; Node, Firefox 4, Chrome 12, IE8\n\nInstall\n=======\n* npm install environ\n* curl https://github.com/azer/environ/raw/master/lib/environ.js\n\nUsage\n=====\nOn Browsers:\n\n    \u003cscript src=\"environ.js\"\u003e\u003c/script\u003e\n\n    \u003e environ()\n    { chrome: true, dom: true, gecko: true, navigator: true, safari: true, v8: true, webkit: true }\n    \u003e environ.node()\n    false\n    \u003e environ.dom()\n    true\n    \u003e environ.v8()\n    true\n    \u003e environ.webkit()\n    true\n\nOn a CommonJS compliant platform:\n\n    \u003e var environ = require('environ');\n\n    \u003e environ()\n    { linux: true, modules: true, node: true, v8: true }\n    \u003e environ.packages()\n    true\n    \u003e environ.node()\n    true\n    \u003e environ.dom()\n    false\n    \u003e environ.v8()\n    true\n    \u003e environ.webkit()\n    false\n\nAvailable Methods\n=================\n* dom\n* chrome\n* firefox\n* gecko\n* jsc\n* ie\n* ie6\n* ie7\n* ie8\n* ie9\n* ie10\n* kindle\n* linux\n* modules\n* navigator\n* node\n* mobile\n* opera\n* safari\n* webkit\n* v8\n\nTesting\n=======\n* node test/node.js\n* w3 test/browser.html\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazer%2Fenviron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazer%2Fenviron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazer%2Fenviron/lists"}