JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3893657
  • Score
    100M100P100Q45387F
  • License MIT

Get the path to the user home directory

Package Exports

  • user-home

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (user-home) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

user-home Build Status

Get the path to the user home directory

Install

$ npm install --save user-home

Usage

var userHome = require('user-home');

console.log(userHome);
//=> /Users/sindresorhus

CLI

$ npm install --global user-home
$ user-home --help

Example
  $ user-home
  /Users/sindresorhus

License

MIT © Sindre Sorhus