logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

browser-insert-module-global — browserify tools to insert global module list

Description

browser-insert-module-global  pack node-style source files dependencies browser-insert-module-global will
       input a javascript file and will output a transformed javascript file with a closure around the  contents
       as necessary to define extra builtins.  browser-insert-module-global will read by default STDIN.

Examples

       browser-module-deps /usr/share/doc/node-insert-module-globals/examples/main.js | browser-insert-module-globals | browser-pack | node
       in main.js: {"__filename":"/main.js","__dirname":"/"}
       in foo/index.js: {"__filename":"/foo/index.js","__dirname":"/foo"}

Name

       browser-insert-module-global — browserify tools to insert global module list

See Also

browserify(1), browser-module-depsbrowser-pack(1), nodejs(1),

                                                     8/4/17                      browser-insert-module-global(1)

Synopsis

browser-insert-module-global [file]

See Also