os-homedir

WebJar for os-homedir

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

os-homedir
Last Version

Last Version

2.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

os-homedir
WebJar for os-homedir
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/sindresorhus/os-homedir

Download os-homedir

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/os-homedir/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>os-homedir</artifactId>
    <version>2.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/os-homedir/
implementation 'org.webjars.npm:os-homedir:2.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/os-homedir/
implementation ("org.webjars.npm:os-homedir:2.0.0")
'org.webjars.npm:os-homedir:jar:2.0.0'
<dependency org="org.webjars.npm" name="os-homedir" rev="2.0.0">
  <artifact name="os-homedir" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='os-homedir', version='2.0.0')
)
libraryDependencies += "org.webjars.npm" % "os-homedir" % "2.0.0"
[org.webjars.npm/os-homedir "2.0.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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 companies
assurances about security, maintenance, and licensing for their dependencies.

Versions

Version
2.0.0
1.0.2
1.0.1