os-homedir

WebJar for os-homedir

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

os-homedir
Последняя версия

Последняя версия

2.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

os-homedir
WebJar for os-homedir
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

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

Скачать os-homedir

Как подключить последнюю версию

<!-- 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"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

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.

Версии библиотеки

Версия
2.0.0
1.0.2
1.0.1