is-supported
v1.0.0
Published
Checks if a ECMAScript feature is supported or not. Checks async, generator and more...
Downloads
11
Maintainers
Readme
isSupported
Checks if new ECMAScript features are supported or not.
const is = require('is-supported')
if (is.asyncSupported) {
console.log('Async is supported')
}
if (is.generatorSupported) {
console.log('Generators are supported')
}