0.2.2 • Published 6 months ago
oxc-walker v0.2.2
oxc-walker
A wrapper around
estree-walker
that accepts anoxc
AST and alternatively usesoxc-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.