browserify-exposify

A browserify transform to expose require in web inspector

Usage no npm install needed!

<script type="module">
  import browserifyExposify from 'https://cdn.skypack.dev/browserify-exposify';
</script>

README

introduction

Inspired heavily by npm:requireify but needs some customization.

Motivation

This allows developers to do require in browser console

TODO

  1. read main entry in package.json
  2. support require a JSON file