**<span style="color:#f45252">`ng2-device-detector` has been deprecated.</span> Please use the new package [`ngx-device-detector`](https://www.npmjs.com/package/ngx-device-detector)**