estree-utils

Functional utilities for parsing JS ASTs

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
estree-utils
0.1.18 years ago8 years agoMinified + gzip package size for estree-utils in KB

Readme

estree-utils
Build Status
Utility functions for parsing Javascript AST's like Esprima.
API
  • filterTree
  • filterTreeForCallExpressions
  • filterTreeForExpressionStatements
  • filterTreeForFunctionsNamed
  • filterTreeForMethodsAndFunctionsNamed
  • filterTreeForMethodsNamed
  • isCallExpression
  • isExpressionStatement
  • isFunctionNamed
  • isGettextFunction
  • isGettextMethod
  • isJSXElement
  • isJSXExpression
  • isMemberExpression
  • isMethodNamed
  • isMethodOrFunctionNamed
  • mapArguments
  • mapExpression
  • mapFirstArgument
  • mapTree
  • mapValues
  • traverse