Skip to content

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

License

Notifications You must be signed in to change notification settings

danielroe/oxc-walker

Folders and files

NameName
Last commit message
Last commit date
Feb 4, 2025
Nov 28, 2024
Dec 10, 2024
Feb 10, 2025
Nov 28, 2024
Nov 28, 2024
Nov 28, 2024
Nov 28, 2024
Nov 28, 2024
Nov 28, 2024
Nov 28, 2024
Feb 24, 2025
Feb 24, 2025
Nov 28, 2024
Nov 28, 2024
Nov 28, 2024
Nov 28, 2024

Repository files navigation

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'

paresAndWalk(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.

About

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

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published