go-fast

module
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2025 License: MIT

README

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.

Discord Banner2

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

Credits

We'd like to extend our heartfelt thanks to the following individuals and projects for their invaluable contributions:

  • @JustTalDevelops: For providing exceptional assistance with code generation edge cases and pretty printing.
  • @steakenthusiast: For the creative and fitting name for the project.
  • goja: For their parsing code that was instrumental in our implementation.
  • swc: For their robust and efficient visiting API.

Your support and contributions have greatly enhanced the development of this project. Thank you!

Directories

Path Synopsis
ast
Code generated by gen_clone.go; DO NOT EDIT.
Code generated by gen_clone.go; DO NOT EDIT.
ext
transform

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL