#deno #compat #layer #user-name #node #api

deno_whoami

This crate implements the username() API in Deno Node compat layer

1 unstable release

0.1.0 Oct 31, 2023

#4 in #compat

Download history 1636/week @ 2024-06-24 1699/week @ 2024-07-01 2077/week @ 2024-07-08 1318/week @ 2024-07-15 1459/week @ 2024-07-22 1539/week @ 2024-07-29 1422/week @ 2024-08-05 1169/week @ 2024-08-12 1637/week @ 2024-08-19 1989/week @ 2024-08-26 1848/week @ 2024-09-02 2018/week @ 2024-09-09 1603/week @ 2024-09-16 1910/week @ 2024-09-23 1942/week @ 2024-09-30 2688/week @ 2024-10-07

8,273 downloads per month
Used in 18 crates (via deno_node)

MIT license

4KB

deno_whoami

This crate implements the username() API for the Node compat layer in Deno. It uses getpwuid_r on Unix and fallbacks for whoami crate on Windows.

Dependencies

~96KB