trim-x

WebJar for trim-x

Лицензия

Лицензия

MIT
Группа

Группа

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

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

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

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

3.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

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

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

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

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

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

Скачать trim-x

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

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

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.webjars.npm : trim-left-x jar [3.0.0,4)
org.webjars.npm : trim-right-x jar [3.0.0,4)

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

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

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

trim-x

This method removes whitespace from the start and end of a string.

module.exports(string)number

trim-xstring

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

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

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

Example

import trim from 'trim-x';

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

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

Версия
3.0.0