Core utils for WebAssembly and WASI
wapm install coreutils
Original Source: https://github.com/uutils/coreutils
Modifications: We made some changes to adapt the codebase to the WASI interface.
The following commands are available:
ls
cat
echo
mv
env
mkdir
basename
dirname
base32
base64
sum
printf
wc
pwd
The following script will build the binary:
cargo build --features "ls cat echo mv env mkdir basename dirname base64 base32 sum printf wc pwd" --no-default-features --target wasm32-wasi --release