npm install -g browserify
npm install soap
browserify convertNPM.js -o bundle.js
Last active
February 23, 2022 15:07
-
-
Save hershkoy/51a309a7cedb03d7a6f577e6ff58e294 to your computer and use it in GitHub Desktop.
convert npm module to browser
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var soap = require('soap') | |
global.window.soap = soap | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment