node-modules/node-homedir

Name: node-homedir

Owner: node_modules

Description: null

Created: 2016-10-12 07:45:46.0

Updated: 2018-01-25 02:16:17.0

Pushed: 2017-10-12 03:13:07.0

Homepage: null

Size: 7

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

node-homedir

Get the effective user's homedir, if node.js >= v6.0.0 .

Aways return the homedir of the current executor? even execute with sudo -u [user] node app.js without -i.

Reference Issue

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Installation
m install node-homedir --save
Usage
nst homedir = require('node-homedir');
nsole.log(homedir());
License

MIT


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.