Comment

Comment by nilslice

If you would like to run csv-to-usv from 15+ languages (not only rust!) then check out this demo I made, converting the library to an Extism plugin function: https://github.com/extism/extism-csv-to-usv

Here's a snippet that runs it in your browser:

    // Simple example to run this in your browser! But will work in Go, PHP, Ruby, Java, Python, etc...
    const extism = await import("https://esm.sh/@extism/extism");
        
    const plugin = await extism.createPlugin("https://cdn.modsurfer.dylibso.com/api/v1/module/a28e7322a6fde92cc27344584b5e86c211dbd5a345fe6ec95f1389733c325541.wasm",
      { useWasi: false }
    );

    let out = await plugin.call("csv_to_usv", "a,b,c");
    console.log(out.text());
parent nilslice 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton