Skip to content

uniqname/invoker-commands-polyfill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

invoker-commands-polyfill

A drop-in polyfill for the Invoker Commands API

Usage

This polyfill is meant primarily to be copied and pasted into your application. You should own as much of the code that executes in your environment as is reasonable.

<script>
// The contents of index.js
</script>

However, you may prefer to include the script from something like unpkg.

<script src="https://unpkg.com/invoker-commands-polyfill@:1.0.0/index.js"></script>

You can, if you wish, install it via npm and import it into your application.

npm i invoker-commands-polyfill

Then import it into your project. It will automatically polyfill if needed or do nothing if the environment already supports invoker commands. As with all polyfills, you should import the polyfill as early in your application execution as you can.

import 'invoker-commands-polyfill';

About

A drop-in polyfill for the Invoker Commands API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •