7 releases

0.1.1 Nov 22, 2020
0.1.0 Nov 22, 2020
0.0.5 Nov 15, 2020
0.0.4 Oct 9, 2019
0.0.2 Mar 18, 2019

#1038 in WebAssembly

Download history 335/week @ 2024-11-15 539/week @ 2024-11-22 673/week @ 2024-11-29 668/week @ 2024-12-06 660/week @ 2024-12-13 328/week @ 2024-12-20 279/week @ 2024-12-27 259/week @ 2025-01-03 476/week @ 2025-01-10 439/week @ 2025-01-17 212/week @ 2025-01-24 293/week @ 2025-01-31 346/week @ 2025-02-07 316/week @ 2025-02-14 490/week @ 2025-02-21 390/week @ 2025-02-28

1,631 downloads per month
Used in 10 crates (5 directly)

MIT/Apache

45KB
637 lines

cstring

A super simple library for c strings in web assembly

[dependencies]
cstring = "0.0.4"

javascript

I've also included a very useful es6 module for interacting with strings in web assembly memory

import { extractCString, insertString } from "https://cdn.jsdelivr.net/gh/richardanaya/cstring/cstring.js";

Dependencies

~110–250KB