npm-cache-filename

WebJar for npm-cache-filename

Лицензия

Лицензия

ISC
Группа

Группа

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

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

npm-cache-filename
Последняя версия

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

1.0.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

npm-cache-filename
WebJar for npm-cache-filename
Ссылка на сайт

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

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

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

https://github.com/npm/npm-cache-filename

Скачать npm-cache-filename

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

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

Зависимости

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

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

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

npm-cache-filename

Given a cache folder and url, return the appropriate cache folder.

USAGE

var cf = require('npm-cache-filename');
console.log(cf('/tmp/cache', 'https://registry.npmjs.org:1234/foo/bar'));
// outputs: /tmp/cache/registry.npmjs.org_1234/foo/bar

As a bonus, you can also bind it to a specific root path:

var cf = require('npm-cache-filename');
var getFile = cf('/tmp/cache');

console.log(getFile('https://registry.npmjs.org:1234/foo/bar'));
// outputs: /tmp/cache/registry.npmjs.org_1234/foo/bar
org.webjars.npm

npm

node package manager

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

Версия
1.0.2