An array of user agent strings, typescript supported.
$ npm i user-agent-array-ts
or
$ yarn add user-agent-array-ts
import { userAgents, randomUserAgent } from "user-agent-array-ts";
// or in JS
// const { userAgents, randomUserAgent } = require("user-agent-array-ts");
// List all user agents
console.log(userAgents);
// Generate random user agent
console.log(randomUserAgent);
Exports a random user agent string.
Exports an array of user agent strings.
This data was extracted from random-http-useragent
.
MIT