Check if browser is Safari
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig
.gitattributes
.gitignore
.jshintrc
index.js
license
package.json
readme.md

readme.md

is-safari

Check if browser is Safari

User agent sniffing is considered bad practice and should be avoided if possible.

Install

$ npm install --save is-safari

Usage

var isSafari = require('is-safari');

console.log(isSafari);
//=> false

License

MIT © Kevin Martensson