estree-utils

0.1.1 • Public • Published

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

Package Sidebar

Install

npm i estree-utils

Weekly Downloads

123

Version

0.1.1

License

MIT

Last publish

Collaborators

  • mrblueblue