Node.js 4
os.homedir()
ponyfill
$ npm install --save os-homedir
const osHomedir = require('os-homedir');
console.log(osHomedir());
//=> '/Users/sindresorhus'
MIT © Sindre Sorhus
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.