trim-left-x

WebJar for trim-left-x

Лицензия

Лицензия

MIT
Группа

Группа

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

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

trim-left-x
Последняя версия

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

3.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

trim-left-x
WebJar for trim-left-x
Ссылка на сайт

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

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

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

https://github.com/Xotic750/trim-left-x

Скачать trim-left-x

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

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

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.webjars.npm : cached-constructors-x jar [1.0.0,2)
org.webjars.npm : require-coercible-to-string-x jar [1.0.0,2)
org.webjars.npm : white-space-x jar [3.0.0,4)

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

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

Travis status Dependency status devDependency status npm version jsDelivr hits bettercodehub score Coverage Status

trim-left-x (a.k.a trimStart in ES2019)

This method removes whitespace from the start of a string.

module.exports(string)number

trim-left-xstring

This method removes whitespace from the left end of a string. (ES2019)

Kind: static property of trim-left-x
Returns: string - The left trimmed string.
Throws:

  • TypeError If string is null or undefined or not coercible.
Param Type Description
string string The string to trim the left end whitespace from.

Example

import trimStart from 'trim-left-x';

console.log(trimStart(' \t\na \t\n') === 'a \t\n'); // true

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

Версия
3.0.0