@aredridel/amdify

Amdify converts your node.js code into browser-compatible code. For example

Usage no npm install needed!

<script type="module">
  import aredridelAmdify from 'https://cdn.skypack.dev/@aredridel/amdify';
</script>

README

Amdify converts your commonJS code (node.js) into browser-compatible code. Just point amdify to a node.js entry point:


# combine in a single file
amdify -e ./application/entry.js -o ./amd/output.js

# wrap the files, and copy them to their own directory
amdify -e ./application/entry.js -o ./amd