#run-time #deno #swarmd #worker #local #within

swarmd_local_runtime

Swarmd local Runtime to use it within the CLI, based on Deno

4 releases

0.0.5 Dec 13, 2023
0.0.4 Dec 7, 2023
0.0.3 Dec 7, 2023
0.0.2 Dec 6, 2023
0.0.1 Dec 6, 2023

#53 in #within

Download history 2/week @ 2024-02-28 3/week @ 2024-03-20 84/week @ 2024-03-27 1/week @ 2024-04-03

88 downloads per month
Used in swarmd

MIT license

63KB
1.5K SLoC

Rust 762 SLoC // 0.1% comments TypeScript 386 SLoC // 0.1% comments JavaScript 318 SLoC // 0.1% comments

swarmd_local_runtime

It's a runtime based on deno in which the only purpose is to reproduce the behavior of the Edge runtime while working locally.

To do that we re-use the already implemented Web APIs by deno.

Some shims are present to reproduce the behavior of the Swarmd runtime on the cloud even if the implementation is not the same.

Dependencies

~153MB
~3.5M SLoC