A simple wrapper for the ForgeFlower java decompiler, made with Node.js
It's largely based on the existing source code for node-fernflower but altered to use ForgeFlower instead of Fernflower.
A CLI interface for ForgeFlower can be installed with
npm install -g fernflower
To install it for use programmatically in a node.js project the following command will install it in your npm project:
npm install fernflower
The CLI interface can be used like this:
forgeflower <jarFile> <outputDir> [<verbose>]
Here's an example for using the package programmatically:
const forgeflower=;const path = ;const inputJar=path;const outputDir=path;;
example.js file located in this repository for a full example.
This project is licensed with the Apache 2.0 license, see the LICENSE file.