net-browserify
To build into a script browserify -r net
, now this will use the net namespace.
Testing the example
- Launch Chrome.
- Visit chrome://extensions
- Enable Developer mode.
- Load unpacked extension
- Find this app. Select it.
- Go to the new tab page an launch.
- Play!!!