``` npm install 'akbigdata-browser-detect'; ``` ## 使用 ``` import BrowserDetect from 'akbigdata-browser-detect'; new BrowserDetect( { recommend: { chrome: 76, firefox: 76, ie: 11, 360: 56, uc: 11, kug
Unpack a browser type and version from the useragent string
Improved typeof detection for node.js and the browser.
Detect Node.JS (as opposite to browser environment). ESM modification
Detect device type and render your component according to it
Better `os.arch()` for node and the browser -- detect OS architecture
Detect if the browser supports passive events
Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js
Detect if a device is mouse only, touch only, or hybrid
Detect the dominant newline character of a string
Simplify detecting your browser
Node.js module to detect the C standard library (libc) implementation family and version
Node.js implementation of port detector
Detects if a file exists and returns the resolved filepath.
Device detection (phone, tablet, desktop, mobile grade, os, versions)
Detect Node.JS (as opposite to browser environment) (reliable)
INTERNAL: A set of environment-related constants for Slate's core.
Charset Detector - Detect the encoding and language of text files - Use it in the browser, with Node.js, or via CLI
A shim for the setImmediate efficient script yielding API
Classify GPU's based on their benchmark score in order to provide an adaptive experience.
Character encoding auto-detection in JavaScript (port of python's chardet)
detect available port
Detect the indentation of code
Lightweight browser detector