Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stephnr/whoami

NPM Module for getting the logged in users name
https://github.com/stephnr/whoami

Last synced: 13 days ago
JSON representation

NPM Module for getting the logged in users name

Awesome Lists containing this project

README

        

# whoami
NPM Module for getting the logged in users name

Supported on:

[![Windows OS](https://img.shields.io/badge/OS-Windows-brightgreen.svg)]() [![Mac OS](https://img.shields.io/badge/OS-Mac-brightgreen.svg)]()

### Installation:

=> Run the following npm command:

```shell
npm install --save-dev whoami-exec
```

=> Use it like so:

```js
var whoami = require('whoami-exec');

var username = whoami();
```