@ulixee/real-user-agents
TypeScript icon, indicating that this package has built-in type declarations

2.0.0-alpha.28 • Public • Published

Real User Agents

Real User Agents is a library created for use in the Unblocked and Ulixee projects. It sources real user agent strings from BrowserStack browsers, Chromium source control, and Statcounter statistics so that current, popular user agent strings can be generated for automation software.

Updating

Source data can be updated by using npm run update.

  1. Update Browserstack UserAgent Strings
    • $ npm run update:useragents
  2. Manually update Browser and OS Information with versions pushed out (used in Scraper Report):
    • data/manual/browserReleaseDates.json
    • data/manual/osReleaseDates.json (updated by scripts/importOsVersions.js)
    • data/manual/browserDescriptions.json
    • data/manual/osDescriptions.json
    • data/os-mappings/macOsVersionAliasMap.json - any mappings of versions to "rollups"
    • data/os-mappings/macNameToVersionMap.json - any mappings of versions to "rollups"
    • data/os-mappings/windowsToWindowsVersionMap.json - any mappings of windows versions
  3. Update Data
    • $ npm run update

Installation

npm i --save @ulixee/real-user-agents

Contributing

Contributions are welcome.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @ulixee/real-user-agents

Weekly Downloads

248

Version

2.0.0-alpha.28

License

MIT

Unpacked Size

3.79 MB

Total Files

131

Last publish

Collaborators

  • blakebyrnes
  • calebjclark