path-key

WebJar for path-key

Лицензия

Лицензия

MIT
Категории

Категории

KeY Данные Data Formats Formal Verification
Группа

Группа

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

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

path-key
Последняя версия

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

2.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

path-key
WebJar for path-key
Ссылка на сайт

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

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

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

https://github.com/sindresorhus/path-key

Скачать path-key

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

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

Зависимости

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

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

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

path-key

Get the PATH environment variable key cross-platform

It's usually PATH but on Windows it can be any casing like Path...

Install

$ npm install path-key

Usage

import pathKey from 'path-key';

const key = pathKey();
//=> 'PATH'

const PATH = process.env[key];
//=> '/usr/local/bin:/usr/bin:/bin'

API

pathKey(options?)

options

Type: object

env

Type: object
Default: process.env

Use a custom environment variables object.

platform

Type: string
Default: process.platform

Get the PATH key for a specific platform.


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.1