escaya-fuzzer
v1.1.3
Published
generate random valid Escaya format ASTs
Downloads
5
Maintainers
Readme
Escaya-fuzzer
Fuzz valid ECMAScript with Escaya AST
Features
- Conforms to the standard ECMAScript® 2021 (ECMA-262 11th Edition) language specification
- Support for fuzzing of alternative AST's
- Low memory usage
API
The Escaya-fuzzer
fuzz valid ECMAscript code into it's own AST that is close to the ECMAScript® 2021 specs. This can be done
with either fuzzScript
or fuzzModule
.
Example usage:
import { fuzzScript, fuzzModule } from 'escaya-fuzzer';
fuzzModule({ disableWebCompat: true });
fuzzScript();
This is the available options:
| Option | Description |
| ------------------- | ------------------------------------------------------------ |
| disableWebCompat
| Disable fuzzing in WebCompat |