Socket
Socket
Sign inDemoInstall

estree-walker-ts

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

estree-walker-ts

🥑 Simple utility for walking an ESTree-compliant AST, such as one generated by acorn.


Version published
Weekly downloads
2K
decreased by-7.74%
Maintainers
1
Weekly downloads
 
Created
Source

estree-walker-ts

🥑 Simple utility for walking an ESTree-compliant AST, such as one generated by acorn.

English | 中文

Feature

  • 🧩 Support esm and cjs formats
  • 🌈 Written in typescript
  • ⛰ Support estree ast traversal
  • ⚡ Acorn's ast support

Why is estree-walker-ts ?

The reason is simple, estree-walker currently does not support the use of cjs format, and the author does not seem to want to support this format, so I wrote it using typescript And maintain it by yourself, its content is almost the same as that of estree-walker, and it also provides simple support for its type, but forgive me, I am not a typescript expert, So if you have any problems using it, welcome 👏 to provide me with an issue. Finally, thanks again to estree-walker and the author Rich-Harris.

Install

npm i estree-walker-ts -D

yarn add estree-walker-ts -D

pnpm add estree-walker-ts -D

Usage

It is used the same as estree-walker

https://github.com/Rich-Harris/estree-walker/blob/master/README.md

Thanks

Keywords

FAQs

Package last updated on 12 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc