A TypeScript migration of the Java ASM bytecode manipulation framework, targeting v0.0.6 as the latest release (no regular cadence). This library reads Java class files and exposes parsed structures like annotations, methods, and fields. It is unstable and incomplete: only read operations are supported, write functions are explicitly broken. Compared to the original Java ASM, this port is limited and experimental, maintained by a single developer with no guarantees. Best suited for small-scale annotation reading tasks.
npm install java-asmNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Reads a Java class file (as ArrayBuffer) and prints class name, super class, and method signatures.
Use a different library like javy-jvm for writing class files.
Ensure input is .class file bytes; for JAR, extract entries first.
Test thoroughly with your class files; prefer production-ready solutions.
Use import { ClassReader } from 'java-asm' in an ESM context.Run npm install java-asm --save (but note it's deprecated).
No dependency data recorded yet.