{"id":25310349,"url":"https://github.com/maxisam/ngx-bowser","last_synced_at":"2025-10-28T15:30:27.287Z","repository":{"id":66203578,"uuid":"88294681","full_name":"maxisam/ngx-bowser","owner":"maxisam","description":"an angular2 wrap service for bowser, AOT ready","archived":false,"fork":false,"pushed_at":"2017-04-16T06:12:21.000Z","size":89,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-12T05:52:44.242Z","etag":null,"topics":["angular","aot","bower","semantic-release"],"latest_commit_sha":null,"homepage":"","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/maxisam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2017-04-14T18:58:50.000Z","updated_at":"2020-09-03T04:44:31.000Z","dependencies_parsed_at":"2023-05-29T13:47:42.639Z","dependency_job_id":null,"html_url":"https://github.com/maxisam/ngx-bowser","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"c49c389449fad7b0805d584ed5caed53e65a4a0b"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxisam%2Fngx-bowser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxisam%2Fngx-bowser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxisam%2Fngx-bowser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxisam%2Fngx-bowser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxisam","download_url":"https://codeload.github.com/maxisam/ngx-bowser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238633971,"owners_count":19504763,"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":["angular","aot","bower","semantic-release"],"created_at":"2025-02-13T13:54:46.542Z","updated_at":"2025-10-28T15:30:21.897Z","avatar_url":"https://github.com/maxisam.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](http://commitizen.github.io/cz-cli/)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)](https://github.com/semantic-release/semantic-release)\n[![travis build](https://img.shields.io/travis/maxisam/ngx-bowser.svg?style=flat-square)](https://travis-ci.org/maxisam/ngx-bowser)\n[![npm](https://img.shields.io/npm/dt/ngx-bowser.svg?style=flat-square)](https://www.npmjs.com/package/ngx-bowser)\n[![GitHub release](https://img.shields.io/github/release/maxisam/ngx-bowser.svg?style=flat-square)](https://github.com/maxisam/ngx-bowser/releases)\n[![npm](https://img.shields.io/npm/l/ngx-bowser.svg?style=flat-square)]()\n\n# ngx-bowser\nA wrap service for [bowser](https://github.com/ded/bowser)\n\nIt works with angular version 2.0.0 and up\n\n## Dependencies\n\n+ Angular \u003e=2.0.0\n+ [bowser](https://github.com/ded/bowser)\n\n## Install\n\nYou can get it on npm.\n\n```\nnpm install ngx-bowser --save\n```\n\n## Build project\n\n```\n1. npm i\n\n2. npm run build\n```\n\n### why ?\n\nIt is AoT compatible, so you don't need to worry about how to deal with 3rd party library with AoT.\n\nIt also comes with better type definition.\n\n### How to use:\n\nin ngModule:\n```\n imports: [BowserModule],\n providers: [BowserService],\n```\n\nIt provides all apis that bowser provides.\n\nIt also allows you to access bowser directly by `BowserService.bowser`\n\n### Additional Features: \n\n1. `BowserService.profile`: return a string of \"[browser]-[version] ([user agent])\"\n\n2. `BowserService.userAgent`: return window.navigator.userAgent","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxisam%2Fngx-bowser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxisam%2Fngx-bowser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxisam%2Fngx-bowser/lists"}