Is a simple userAgent parser for develop kit.
npm i @hitv/ua
import ua from '@hitv/ua'
console.log(ua)
// =>
{
"safari": true,
"version": {
"major": 9,
"string": "601.1.46",
"minor": 0
},
"ipad": true,
"webkit": true,
"name": "safari",
"platform": "ipad"
}