Created
April 17, 2020 13:41
-
-
Save mercutiodesign/813fa31123764343ab9a62fafb2a8df7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as Bowser from "bowser"; | |
const browser = Bowser.getParser(window.navigator.userAgent); | |
const isValidBrowser = browser.satisfies({ | |
chrome: ">77", | |
firefox: ">72", | |
safari: ">11", | |
edge: ">79", | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment