@the-/support
JS support version checker
Installation
$ npm install @the-/support --save
Usage
'use strict'
const { TheSupport } = require('@the-/support')
async function tryExample() {
const support = new TheSupport('public/bundle/**/*.js')
await support.es5() // Throw error unless es5 compatible
}
tryExample().catch((err) => console.error(err))
API Guide
- module:@the-/support
- module:@the-/support.helpers
See API Guide for more detail
License
This software is released under the MIT License.