Nepotistic Pontifex Maximus

    @svgr/hast-util-to-babel-ast

    5.5.0 • Public • Published

    @svgr/hast-util-to-babel-ast

    Build Status Version MIT License

    Transforms HAST into Babel AST.

    Install

    npm install --save-dev @svgr/hast-util-to-babel-ast

    Usage

    import { parse } from 'svg-parser'
    import toBabelAST from '@svgr/hast-util-to-babel-ast'
     
    const hastTree = parse(`<svg></svg>`)
     
    const babelTree = hastToBabelAst(hastTree)

    License

    MIT

    Install

    npm i @svgr/hast-util-to-babel-ast

    DownloadsWeekly Downloads

    4,230,818

    Version

    5.5.0

    License

    MIT

    Unpacked Size

    34.4 kB

    Total Files

    12

    Last publish

    Collaborators

    • neoziro