top-user-agents

    1.0.38 • Public • Published

    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 userAgents = require('top-user-agents')
    const uniqueRandomArray = require('unique-random-array')
    
    console.log(userAgents[0])
    // => Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36
    
    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

    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

    Install

    npm i top-user-agents

    DownloadsWeekly Downloads

    1,069

    Version

    1.0.38

    License

    MIT

    Unpacked Size

    16.8 kB

    Total Files

    7

    Last publish

    Collaborators

    • kikobeats