import-fresh

WebJar for import-fresh

Лицензия

Лицензия

MIT
Группа

Группа

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

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

import-fresh
Последняя версия

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

3.3.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

import-fresh
WebJar for import-fresh
Ссылка на сайт

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

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

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

https://github.com/sindresorhus/import-fresh

Скачать import-fresh

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

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

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.webjars.npm : parent-module jar [1.0.0,2)
org.webjars.npm : resolve-from jar [4.0.0,5)

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

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

import-fresh

Import a module while bypassing the cache

Useful for testing purposes when you need to freshly import a module.

Install

$ npm install import-fresh

Usage

// foo.js
let i = 0;
module.exports = () => ++i;
const importFresh = require('import-fresh');

require('./foo')();
//=> 1

require('./foo')();
//=> 2

importFresh('./foo')();
//=> 1

importFresh('./foo')();
//=> 1

import-fresh for enterprise

Available as part of the Tidelift Subscription.

The maintainers of import-fresh and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.

Related

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

Версия
3.3.0
3.2.2
3.2.1
2.0.0