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

    Install

    npm i estree-utils

    DownloadsWeekly Downloads

    167

    Version

    0.1.1

    License

    MIT

    Last publish

    Collaborators

    • mrblueblue