Nevertheless! Party Metaphorically

    bnny

    0.10.0 • Public • Published

    bnny

    A WebAssembly assembler written in Poetry

    Usage

    $ npm i -g bnny
    $ bnny my_program.wast -b my_program.wasm
    

    Usage in Javascript

    const bnny = require("bnny")
    
    bnny('(module)').then((wasm) => {
      console.log("Output size:", wasm.byteLength, "bytes")
    })
    

    Usage in Poetry

    include "bnny/bnny.poem" bnny\
    
    export "init" init
      var wasm = bnny\assemble "(module)"
      if wasm
        var size = size_of wasm
      else
        var err = bnny\error
    

    Install

    npm i bnny

    DownloadsWeekly Downloads

    3

    Version

    0.10.0

    License

    ISC

    Unpacked Size

    90.8 kB

    Total Files

    9

    Last publish

    Collaborators

    • poeticandroid