1.1.0 • Published 8 years ago

fernflower v1.1.0

Weekly downloads
8
License
Apache-2.0
Repository
github
Last release
8 years ago

node-fernflower

Simple fernflower java decompiler wrapper

Installation

A fernflower <jarFile> <outputDir> cli can be installed with npm install -g fernflower

Usage

const fernflower=require("fernflower");
const path = require('path');


const inputJar=path.join(__dirname,"fernflower.jar");
const outputDir=path.join(__dirname,"output");

fernflower(inputJar,outputDir)
  .then((decompiledDir) => console.log("Decompiled "+inputJar+" at "+decompiledDir))
  .catch(err => console.log(err.stack));