Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.46 KB

README.md

File metadata and controls

35 lines (22 loc) · 1.46 KB

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