cwd

WebJar for cwd

Лицензия

Лицензия

MIT
Группа

Группа

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

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

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

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

0.10.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

cwd
WebJar for cwd
Ссылка на сайт

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

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

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

https://github.com/jonschlinkert/cwd

Скачать cwd

Имя Файла Размер
cwd-0.10.0.pom
cwd-0.10.0.jar 4 KB
cwd-0.10.0-sources.jar 22 bytes
cwd-0.10.0-javadoc.jar 22 bytes
Обзор

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

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

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.webjars.npm : find-pkg jar [0.1.2,0.2)
org.webjars.npm : fs-exists-sync jar [0.1.0,0.2)

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

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

cwd NPM version NPM downloads Build Status

Easily get the CWD (current working directory) of a project based on package.json, optionally starting from a given path. (node.js/javascript util)

Install

Install with npm:

$ npm install cwd --save

Usage

var cwd = require('cwd');
cwd();
cwd('one/two.js');
cwd('one', 'two.js');
cwd(['one', 'two.js']);

Related projects

You might also be interested in these projects:

  • global-modules: The directory used by npm for globally installed npm modules. | homepage
  • global-paths: Returns an array of unique "global" directories based on the user's platform and environment. The… more | [homepage](https://github.com/jonschlinkert/global-paths "Returns an array of unique "global" directories based on the user's platform and environment. The resulting paths can be used for doing lookups for generators or other globally installed npm packages. Node.js / JavaScript.")
  • global-prefix: Get the npm global path prefix. | homepage
  • is-absolute: Polyfill for node.js path.isAbolute. Returns true if a file path is absolute. | homepage
  • is-relative: Returns true if the path appears to be relative. | homepage
  • relative: Get the relative filepath from path A to path B. Calculates from file-to-directory, file-to-file, directory-to-file… more | homepage

Contributing

This document was generated by verb, please don't edit directly. Any changes to the readme must be made in .verb.md. See Building Docs.

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Building docs

Generate readme and API documentation with verb:

$ npm install -g verb verb-readme-generator && verb

Running tests

Install dev dependencies:

$ npm install -d && npm test

Author

Jon Schlinkert

License

Copyright © 2016, Jon Schlinkert. Released under the MIT license.


This file was generated by verb, v0.9.0, on June 05, 2016.

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

Версия
0.10.0