replace-ext

WebJar for replace-ext

Лицензия

Лицензия

MIT
Группа

Группа

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

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

replace-ext
Последняя версия

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

1.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

replace-ext
WebJar for replace-ext
Ссылка на сайт

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

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

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

https://github.com/gulpjs/replace-ext

Скачать replace-ext

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

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

Зависимости

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

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

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

replace-ext

NPM version Downloads Build Status Coveralls Status

Replaces a file extension with another one.

Usage

var replaceExt = require('replace-ext');

var path = '/some/dir/file.js';
var newPath = replaceExt(path, '.coffee');

console.log(newPath); // /some/dir/file.coffee

API

replaceExt(path, extension)

Replaces the extension from path with extension and returns the updated path string.

Does not replace the extension if path is not a string or is empty.

replace-ext for enterprise

Available as part of the Tidelift Subscription.

The maintainers of replace-ext 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.

License

MIT

org.webjars.npm

gulp

A toolkit to automate & enhance your workflow

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

Версия
1.0.1
1.0.0
0.0.1