Popularity
1.7
Stable
Activity
0.0
Stable
55
9
11

Monthly Downloads: 0
Programming language: JavaScript
License: MIT License
Tags: Node.Js     Polyfills     Path     Directory     Home     Ponyfill     Polyfill     Shim     Folder     Dir     Homedir     User     Os     Core     Built-in     Builtin    
Latest version: v1.0.2

os-homedir alternatives and similar modules

Based on the "Node.Js" category.
Alternatively, view os-homedir alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of os-homedir or a related project?

Add another 'Node.Js' Module

README

Deprecated

This is not needed anymore. Use require('os').homedir() instead.


os-homedir Build Status

Node.js 4 os.homedir() ponyfill

Install

$ npm install --save os-homedir

Usage

const osHomedir = require('os-homedir');

console.log(osHomedir());
//=> '/Users/sindresorhus'

Related

  • user-home - Same as this module but caches the result
  • home-or-tmp - Get the user home directory with fallback to the system temp directory

Get professional support for this package with a Tidelift subscription Tidelift helps make open source sustainable for maintainers while giving companiesassurances about security, maintenance, and licensing for their dependencies.