codesurgeon
codesurgeon copied to clipboard
[DEPRECATED] Build a subset or superset of a javascript codebase via reading the AST.
Is there a stable tag before the wip rewrite?
End result would be something like: ``` javascript if (typeof define === 'function' && define.amd) { define(function() { return X; }); } else { exports.X = X; } ``` Not...
``` (function slyify(global, undefined) { sly.plugin = function plugin (url, name, fn) { alert('check'); } sly.other = function other(test) { ... } }(this)); ``` Is there a way to extract...
Hi, I'm using codesurgeon to extract code from files, but it fails to extra variables that are not prefixed with a var statement. Example ``` js var foo = 'bar'...
hi, after poking few days with jake, to minify/test/jslint an app, I see that codesurgeon does all of this exactly as one would expect. Do you plan to add an...
It'd be really nice if it could remove all functions that matched a pattern. /_.*/ would remove all functions with an leading underscore, or something similar. That way you could...