How to use the user function from osenv

Find comprehensive JavaScript osenv.user code examples handpicked from public code repositorys.

27
28
29
30
31
32
33
34
35
36

## osenv.hostname()

The machine name.  Calls `hostname` if not found.

## osenv.user()

The currently logged-in user.  Calls `whoami` if not found.

## osenv.prompt()
fork icon19
star icon22
watch icon13

+ 3 other calls in file