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

deno_whoami

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

1 unstable release

0.1.0 Oct 31, 2023

#1004 in HTTP server

Download history 1427/week @ 2024-07-21 1526/week @ 2024-07-28 1415/week @ 2024-08-04 1197/week @ 2024-08-11 1554/week @ 2024-08-18 2053/week @ 2024-08-25 1787/week @ 2024-09-01 2068/week @ 2024-09-08 1607/week @ 2024-09-15 1894/week @ 2024-09-22 2004/week @ 2024-09-29 2711/week @ 2024-10-06 2233/week @ 2024-10-13 2273/week @ 2024-10-20 2263/week @ 2024-10-27 1822/week @ 2024-11-03

8,906 downloads per month
Used in 19 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