esox_wasm

Crates.ioesox_wasm
lib.rsesox_wasm
version0.1.1
created_at2025-12-18 23:11:26.392065+00
updated_at2025-12-19 13:48:24.690643+00
descriptionWASM glue library for NISECI and HFBI calc
homepage
repository
max_upload_size
id1993783
size57,368
Gabriele Rimoli (jgabaut)

documentation

README

esox_wasm

WASM glue library for NISECI and HFBI calc

Table of Contents

What is this thing?

This is a WASM glue library for calculating the NISECI and/or HFBI index for a dataset.

Input templates

You can find templates for the input files in the templates folder.

Locale

Since this library is built with knowing that Excel uses some specific separators with the Italian locale, it supports two formats for input/output.

The format differences are:

  • Italian:
    • Input expects ; as csv field delimiter, and , can be used as float decimal delimiter
    • Output uses ; as csv field delimiter, and floats are printed with , as decimal delimiter
  • International:
    • Input expectes , as csv field delimiter, and . as float decimal delimiter
    • Output uses , as csv field delimiter, and floats are printed with . as decimal delimiter

Building

To build the pkg/.wasm file, run:

    cargo install wasm-pack
    wasm-pack build --target web`

Testing

To test pkg/.wasm file, run:

    python -m http.server

This should start a server on http://0.0.0.0:8000 using the provided index.hmtl.

References

Commit count: 0

cargo fmt