user-home-cli

Get the path to the user home directory

Usage no npm install needed!

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

README

user-home-cli

Get the path to the user home directory

Install

$ npm install --global user-home-cli

Usage

$ user-home --help

  Example
    $ user-home
    /Users/sindresorhus