/go-fAST

A JavaScript AST parser, traverser, and generator written in Go

Primary LanguageGoMIT LicenseMIT

go-fAST

go-fAST is a super-fast Golang library designed for parsing, transforming, and generating JavaScript Abstract Syntax Trees (ASTs). This library provides a simple and efficient way to work with JavaScript ASTs in Go, enabling developers to perform a variety of tasks including code analysis and (de)obfuscation.

Features

  • Parsing: Convert JavaScript code into its AST representation.
  • Transforming: Apply transformations to JavaScript ASTs to modify code structures.
  • Generating: Generate JavaScript code from ASTs.

Installation

To use go-fAST in your Go project, you need to install it using go get:

go get github.com/T14Raptor/go-fAST

Contributing

We welcome contributions to go-fAST. If you'd like to contribute, please follow these guidelines:

  1. Fork the repository.
  2. Create a new branch for your feature or bugfix.
  3. Write tests for your changes.
  4. Submit a pull request with a clear description of your changes.

Please check the CONTRIBUTING.md for more details.

License

go-fAST is released under the MIT License. See the LICENSE file for details.