extract-required

Extract CommonJS required module names in JS code

Usage no npm install needed!

<script type="module">
  import extractRequired from 'https://cdn.skypack.dev/extract-required';
</script>

README

extract-required

Extract CommonJS required module names in JS code.