76120b1165695df47180f3033d75012978ac183f4034027c6213e96085523410d0b6354e6303713cf951276fb72caf3d091132cacaaad32f2a122540ec02d7 489 B

1234567891011121314151617181920212223242526
  1. # @webassemblyjs/wasm-parser
  2. > WebAssembly binary format parser
  3. ## Installation
  4. ```sh
  5. yarn add @webassemblyjs/wasm-parser
  6. ```
  7. ## Usage
  8. ```js
  9. import { decode } from "@webassemblyjs/wasm-parser";
  10. const decoderOpts = {};
  11. const ast = decode(binary, decoderOpts);
  12. ```
  13. ### Decoder options
  14. - `dump`: print dump information while decoding (default `false`)
  15. - `ignoreCodeSection`: ignore the code section (default `false`)
  16. - `ignoreDataSection`: ignore the data section (default `false`)