JavaScript class to handle user agent information. It will detect whether the user is on a mobile or desktop computer. It can also detect whether it is a Mac OS or Windows OS and determine the orientation of the mobile device, landscape or portrait.
#Demo Link : https://rawgit.com/moczka/platform-detection/master/main.html