import-require
v0.1.8
Published
Import a require in the browser via a cdn so you can import/require inside a script tag that is not a module.
Downloads
43
Maintainers
Readme
available on npm
Usage
<html>
<head>
<script src="//cdn.jsdelivr.net/npm/[email protected]"></script>
<script>
const {example} = require('https://cdn.jsdelivr.net/npm/example');
</script>
</head>
</html>