{"repo":"AhsanAyaz/ngx-device-detector","free":true,"listed":false,"github":"https://github.com/AhsanAyaz/ngx-device-detector","clone":"git clone https://github.com/AhsanAyaz/ngx-device-detector.git","description":"An Angular v7+ library to detect the device, OS, and browser details.","language":"TypeScript","stars":559,"topics":["angular","ngx-device-detector","ng5","device-detection","device-detector"],"license":"MIT","category":"ui-components","readme_excerpt":"ngx-device-detector An Angular 6+ powered AOT compatible device detector that helps to identify browser, os and other useful information regarding the device using the app. The processing is based on user-agent. This library was built at KoderLabs , which is one of the best places I've worked at ❤️ Deprecated package : New package : If you use Angular 5, you must use v1.5.2 or earlier DOCS Ngx Device Detector DOCS Live DEMO Regular Demo Dependencies Latest version available for each version of Angular ngx-device-detector Angular ------------------- ------- 1.3.3 7.x 1.3.5 8.x 1.4.1 9.x 1.4.5 10.x 2.0.5 11.x 2.1.0 12.x 3.x.x 13.x 4.x.x 14.x 5.x.x 15.x 6.x.x 16.x 7.x.x 17.x 8.x.x 18.x 9.x.x 19.x 10.x.x 20.x 11.x.x 21.x 12.x.x 22.x Installation To install this library, run: In your component where you want to use the Device Service For SSR, you have to make sure that the User Agent is available for device detection. I.e. you'll need to provide it manually. If using ExpressJS for example: express.tokens.ts universal-device-detector.service.ts: app.server.module.ts: Device service Holds the following properties - browser - os - device - userAgent - os version - isDesktopMode Helper Methods - isMobile() : returns if the device is a mobile device (android / iPhone/ windows-phone etc) - isTablet() : returns if the device us a tablet (iPad etc) - isDesktop() : returns if the app is running on a Desktop browser. - isDesktopModeEnabled() : returns if a mobile device is running in deskto","default_branch":null,"files":null,"tree":[],"storefront":"/r/AhsanAyaz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AhsanAyaz/ngx-device-detector/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}