username-cli

Get the username of the current user

Usage no npm install needed!

<script type="module">
  import usernameCli from 'https://cdn.skypack.dev/username-cli';
</script>

README

username-cli

Get the username of the current user

Install

$ npm install --global username-cli

Usage

$ username --help

  Example
    $ username
    sindresorhus

Related