Package Exports
- useragent-from-seed
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (useragent-from-seed) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
useragent-from-seed
Pick a random User Agent with seed support.
Results are not truly random. They are based on a list containing Windows, macOS, Android and iOS agents.
Usage
const useragentFromSeed = require('useragent-from-seed')
// Usage with seed
useragentFromSeed('MY SEED') // Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.36 ...
useragentFromSeed('MY SEED') // Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.36 ...
// Usage without seed
useragentFromSeed() // Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.55.3 ...
useragentFromSeed() // Mozilla/5.0 (Linux; U; Android 2.1; en-us; Nexus One Build/ERD62) ...Credits
All User Agents are taken from User Agent Switcher