#segment #wasm-bindings #io #yew #trunk

analytics-next-sys

WebAssembly bindings for @segment/analytics-next

7 releases

0.1.6 Jan 15, 2024
0.1.4 Jan 15, 2024
0.1.3 Dec 6, 2023
0.1.0 Sep 12, 2023

#1755 in WebAssembly

Download history 18/week @ 2025-09-12 105/week @ 2025-09-19 96/week @ 2025-09-26 8/week @ 2025-10-03 3/week @ 2025-10-10 19/week @ 2025-10-17 11/week @ 2025-10-24 138/week @ 2025-10-31 64/week @ 2025-11-07 20/week @ 2025-11-14 19/week @ 2025-11-21 65/week @ 2025-11-28 130/week @ 2025-12-05 6/week @ 2025-12-12

138 downloads per month
Used in analytics-next

Apache-2.0

760KB
10K SLoC

JavaScript 10K SLoC // 0.4% comments Rust 23 SLoC

Rust wrapper for analytics-next

CI GitHub release (latest SemVer) crates.io docs.rs

Example

For running the example, you need to provide a Segment.io writekey. Place it into the file examples/yew/src/writekey.txt and then start serve the example:

cd examples/yew
trunk serve

Dependencies

~7–9.5MB
~175K SLoC