Replaces the this variable with the given expression.
Consumes/produces Mozilla ASTs.
Returns a new AST with all ThisExpressions replaced with the given expression.
If recurse is truthy, it will recurse to cover every scope in the AST.
Selectively mirror the npm registry inside your firewall. Filter packages based on security, licensing, code quality and more. Build awesome stuff faster. Try npm Enterprise for free…
how? learn more