@bmatthieu3/healpix
TypeScript icon, indicating that this package has built-in type declarations

0.1.5 • Public • Published

First install Rust if not already done:

curl https://sh.rustup.rs -sSf | sh

(More details here if you are not using Linux.)

To build the WASM and Javascript files, you need to install wasm-bindgen in addition to the nightly version of Rust:

rustup target add wasm32-unknown-unknown --toolchain nightly
cargo +nightly install wasm-bindgen-cli

To test the demo page, you have to load the WASM/Javascript files from an HTTP server. To start a local HTTP server, you can use (requires python):

# For python 2
python -m SimpleHTTPServer
# For python 3
python -m http.server

Then load in your favourite browser the URL http://localhost:8000/test.html and/or http://localhost:8000/demo.html

Readme

Keywords

none

Package Sidebar

Install

npm i @bmatthieu3/healpix

Weekly Downloads

1

Version

0.1.5

License

none

Unpacked Size

144 kB

Total Files

5

Last publish

Collaborators

  • bmatthieu3