user-device-type
Version:
**Browser, OS, and device detection based on the available user agent string. Can be used both in a browser (also as a standalone script) or in a server environment.**
35 lines (34 loc) • 646 B
JSON
{
"name": "user-device-type",
"files": [
"dist"
],
"main": "./dist/my-lib.umd.js",
"module": "./dist/my-lib.es.js",
"author": "mendmania",
"type": "module",
"license": "MIT",
"keywords": [
"javascript",
"user-agent",
"device-type",
"nodejs",
"browser"
],
"exports": {
".": {
"import": "./dist/my-lib.es.js",
"require": "./dist/my-lib.umd.js"
}
},
"version": "1.0.0",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"build-docs": "vite build --config vite.config.client.js"
},
"devDependencies": {
"vite": "^5.2.0"
}
}