latest-version

WebJar for latest-version

Лицензия

Лицензия

MIT
Группа

Группа

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

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

latest-version
Последняя версия

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

5.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

latest-version
WebJar for latest-version
Ссылка на сайт

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

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

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

https://github.com/sindresorhus/latest-version

Скачать latest-version

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

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

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.webjars.npm : package-json jar [6.3.0,7)

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

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

latest-version Build Status

Get the latest version of an npm package

Fetches the version directly from the registry instead of depending on the massive npm module like the latest module does.

Install

$ npm install latest-version

Usage

const latestVersion = require('latest-version');

(async () => {
	console.log(await latestVersion('ava'));
	//=> '0.18.0'

	console.log(await latestVersion('@sindresorhus/df'));
	//=> '1.0.1'

	// Also works with semver ranges and dist-tags
	console.log(await latestVersion('npm', {version: 'latest-5'}));
	//=> '5.5.1'
})();

Related


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.

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

Версия
5.1.0
3.1.0
3.0.0
2.0.0
1.0.1