deglobalify
deglobalify copied to clipboard
A browerify transform to stops 3rd party javascript modules writing to the global window object, and to return a module.exports object instead.
Results
2
deglobalify issues
Sort by
recently updated
recently updated
newest added
It would be neat if we could declare the export mappings outside the `require` calls, e.g. ``` js //file: /public/scripts/app.js var domready = require('domready') // regular npm module , badmodule...
How much would it take to support "bad modules" that pollute global namespaces by doing ``` var myfunc = function() { return 42 } ``` or ``` function myfunc() {...