min-indent

WebJar for min-indent

Лицензия

Лицензия

MIT
Группа

Группа

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

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

min-indent
Последняя версия

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

1.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

min-indent
WebJar for min-indent
Ссылка на сайт

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

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

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

https://github.com/jamiebuilds/min-indent

Скачать min-indent

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

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

Зависимости

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

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

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

min-indent Build Status

Get the shortest leading whitespace from lines in a string

The line with the least number of leading whitespace, ignoring empty lines, determines the number.

Useful for removing redundant indentation.

Install

$ npm install --save min-indent

Usage

const minIndent = require('min-indent');

const str = '\tunicorn\n\t\tcake';
/*
	unicorn
		cake
*/

minIndent(str); // 1

Related

License

MIT © James Kyle

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

Версия
1.0.1