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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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
.
m install node-homedir --save
nst homedir = require('node-homedir');
nsole.log(homedir());