Skip to content

Commit

Permalink
Improved mobileToDesktop docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Sep 13, 2021
1 parent b760f7a commit 49af848
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -572,9 +572,11 @@ Options:
* `dangerousExtend`: Disable security checks for `extend` query.
Default is `false`.
* `mobileToDesktop`: Use desktop browsers if Can I Use doesn鈥檛 have data
about this mobile version. For instance, Browserslist will return
`chrome 20` on `and_chr 20` query (Can I Use has only data only about
latest versions of mobile browsers). Default is `false`.
about this mobile version. Can I Use has only data only about
latest versions of mobile browsers. By default, `last 2 and_ff versions`
returns `and_ff 90` and with this option it returns `and_ff 91, and_ff 90`.
This option may lead to unknown browser version error (in example Can I Use
doesn鈥檛 have data for `and_ff 91` yet). Default is `false`.

For non-JS environment and debug purpose you can use CLI tool:

Expand Down

0 comments on commit 49af848

Please sign in to comment.