vx-ast-parser

0.8.0 • Public • Published

vx-ast-parser

AST Parser for VisionX

Fork from @babel/parser

Install

tnpm install --save vx-ast-parser

Usage

const parser = require('vx-ast-parser');

const ast = parser.parse(visionxCode, {
  jsxTopLevel: true,
  plugins: [
    'jsx',
    'optionalChaining',
    'decorators',
    'objectRestSpread',
    'pipelineOperator',
  ]
});

Dependencies (0)

    Dev Dependencies (13)

    Package Sidebar

    Install

    npm i vx-ast-parser

    Weekly Downloads

    2

    Version

    0.8.0

    License

    MIT

    Unpacked Size

    320 kB

    Total Files

    9

    Last publish

    Collaborators

    • onbing