Skip to content
This repository was archived by the owner on Jul 9, 2022. It is now read-only.

Latest commit

 

History

History
20 lines (13 loc) · 645 Bytes

File metadata and controls

20 lines (13 loc) · 645 Bytes

java-cfr

A Java class file reader written in JavaScript. It reads the contents of a Java class file, and returns the structure as a JavaScript object. It has been written in compliance with the JVM specification (Java SE 7).

Note: this project is incomplete and untested. Do not use for production code.

Usage

An example usage within Node.js:

var jcfr = require("./lib/jcfr");

var json = jcfr.readFile("/path/to/file.class");
console.log(json);

License

You may use java-cfr under the terms of the MIT License (see LICENSE).