Skip to content

📦 top-user-agents 1.x drop in replacement with zero dependencies. Always mirrors the latest version. Always up to date with the most common user agents. — `npm install top-user-agents@github:EIGHTFINITE/top-user-agents-1#main` — https://github.com/EIGHTFINITE/top-user-agents-1/tags | https://github.com/microlinkhq/top-user-agents

License

Notifications You must be signed in to change notification settings

EIGHTFINITE/top-user-agents-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

top-user-agents

Last version NPM Status

A list of most common User Agent used on Internet.

The list is auto generated, always up to date with the most common user agents.

Install

$ npm install top-user-agents --save

Usage

const uniqueRandomArray = require('unique-random-array')
const userAgents = require('top-user-agents')

const randomUserAgent = uniqueRandomArray(userAgents)

console.log(randomUserAgent())
// => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36'

Related

  • top-crawler-agents – A list of common crawler user agents useful for retrieving metadata from links.

top-user-agents © Kiko Beats, released under the MIT License.
Authored and maintained by Kiko Beats with help from contributors.

kikobeats.com · GitHub Kiko Beats · Twitter @Kikobeats

About

📦 top-user-agents 1.x drop in replacement with zero dependencies. Always mirrors the latest version. Always up to date with the most common user agents. — `npm install top-user-agents@github:EIGHTFINITE/top-user-agents-1#main` — https://github.com/EIGHTFINITE/top-user-agents-1/tags | https://github.com/microlinkhq/top-user-agents

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%