is-ua-webview
A super simple webview user-agent detector
Installation
$ npm install is-ua-webview
Usage
const isWebview = require('is-ua-webview')
const assert = require('assert')
assert(isWebview('Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)'))
assert(!isWebview('Android 7.1; Pixel Build/NDE63P)'))
Tests
Run tests
npm test
Author
Adam Eivy is a software architect by day and a drawing dad by night. Check out his latest project Beetle Royale or follow him on the interwebs
$Crypto Tipping Jars:
- Litecoin ($LTC): LeMkJv1Xoxnt2YvRgKkNZZJRgZYgGzcSyv
- Bitcoin ($BTC): 1CWDM7dYLoBwJyf2kbGANAmuySwFWC2NZu
- Ethereum ($ETH): 0xAA33bAe03131f3aa36e1de3e4bD53583c41F8d64