const libSuffix = { darwin: "so", linux: "so", windows: "dll", }[Deno.build.os]
oh no, what a bad example. Hope no one ever actually copies that…(it's bad because it unnecessarily limits the list of platforms to just three. great way to make BSD users hate you. just do: if (windows) "dll" else "so")