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

deno_whoami

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

1 unstable release

0.1.0 Oct 31, 2023

#3 in #compat

Download history 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 1933/week @ 2024-09-30 2797/week @ 2024-10-07 2206/week @ 2024-10-14 2262/week @ 2024-10-21 2245/week @ 2024-10-28 2085/week @ 2024-11-04 1631/week @ 2024-11-11 2466/week @ 2024-11-18 2264/week @ 2024-11-25 2299/week @ 2024-12-02

8,919 downloads per month
Used in 23 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

~94KB