wasm-pack build --out-dir dist --target nodejs --features wasm; if [ "$1" = "install" ]; then if [ ! -z "$2" ]; then cd $2; npm i "$PWD/dist"; else echo "please type a node.js project path"; fi fi