Socket
Socket
Sign inDemoInstall

map-to-chrome

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    map-to-chrome

Map versions of Chromium-based browsers to their equivalent Chrome versions


Version published
Weekly downloads
39K
increased by12.18%
Maintainers
1
Install size
6.34 kB
Created
Weekly downloads
 

Readme

Source
Map-to-Chrome logo

Map versions of Chromium-based browsers to their equivalent Chrome versions.

About this project

This package was created for Browserslist-GA, a package that lets you use your own analytics with Browserslist. Browserslist uses data from caniuse.com and so only supports the same browsers.

There are some other popular browsers however in some regions that are Chromium-based. This package maps versions of those browsers to their equivalent Chrome/Chromium versions so they can be tracked when used with tools such as Browserslist-GA.

How does it work

Let's take the Yandex Browser (or YaBrowser), a popular browser in russian-speaking countries, as an example. The Yandex Browser UA strings look like this:

Mozilla/5.0 (<platform>) AppleWebKit/<webkit-rev> (KHTML, like Gecko) Chrome/<chrome-version> YaBrowser/<yabrowser-version> Safari/<webkit-rev>

Platform can be Windows, Linux, macOS or Android (on iOS is different since all browsers use Safari's WebKit as the underlying engine). This repository contains a file named yabrowser.json that maps YaBrowser major and minor versions to the equivalent Chrome versions. The format is as follows:

[<yabrowser-major>, <yabrowser-minor>, <chrome-major>, <chrome-minor>]

Supported browsers

Supported browsers table

Contributing

If you know more about any of these browsers or have a better way to achieve this, please let us know by opening an issue or contacting the email in my GitHub profile.

If you have data for another Chromium-based browser, please open a pull request. Help us keep the data updated by contributing with new versions, also by opening a pull request. Thank you in advance!

Credits

The data for YaBrowser was initially extracted from Browserslist-GA and is based on this pull request by @Vasfed.
Electron data was completed and confirmed thanks to the electron-to-chromium project.

FAQs

Last updated on 10 Feb 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc