Skip to content

About

Wrapper around pdbtbx rust lib using wasm interface type

Resources

Stars

1 star

Watchers

5 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

pdbtbx-wit

Wrapper around pdbtbx rust library for reading (crystallographic) Protein Data Bank (PDB) and mmCIF files in JavaScript.

Using WebAssembly Component and Wasm Interface Type

Usage

```shell
# Install dependencies
cargo install cargo-component
npm install

# Regen src/bindings.rs + build wasm
cargo component build --release

# Display wit from wasm
npx jco wit target/wasm32-wasi/release/pdbtbx_wit.wasm

# Create js wrapper around wasm
npm run build

# Exercize
node test.js

About

Wrapper around pdbtbx rust lib using wasm interface type

Resources

Stars

1 star

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages