oxc-walker
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

oxc-walker

npm version npm downloads Github Actions Codecov

A wrapper around estree-walker that accepts an oxc AST and alternatively uses oxc-parser to parse code

Usage

Install package:

# npm
npm install oxc-walker

# pnpm
pnpm install oxc-walker
import { parseAndWalk, walk } from 'oxc-walker'

parseAndWalk(code, filename, (node) => {
  // node is typed correctly
})

💻 Development

  • Clone this repository
  • Enable Corepack using corepack enable
  • Install dependencies using pnpm install
  • Run interactive tests using pnpm dev

License

Made with ❤️

Published under MIT License.

Readme

Keywords

none

Package Sidebar

Install

npm i oxc-walker

Weekly Downloads

6,589

Version

0.3.0

License

MIT

Unpacked Size

38.8 kB

Total Files

6

Last publish

Collaborators

  • boshen
  • danielroe