Skip to content

JGGR/esox_wasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  • International:
    • Input expectes , as csv field delimiter, and . as float 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

About

WASM glue library for NISECI and HFBI calc

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors