@the-/support

JS support version checker

Usage no npm install needed!

<script type="module">
  import theSupport from 'https://cdn.skypack.dev/@the-/support';
</script>

README

@the-/support

npm Version

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

See API Guide for more detail

License

This software is released under the MIT License.

Links