trunc

WebJar for trunc

Лицензия

Лицензия

MIT
Группа

Группа

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

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

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

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

0.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

trunc
WebJar for trunc
Ссылка на сайт

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

http://webjars.org

Скачать trunc

Имя Файла Размер
trunc-0.0.1.pom
trunc-0.0.1.jar 4 KB
trunc-0.0.1-sources.jar 22 bytes
trunc-0.0.1-javadoc.jar 22 bytes
Обзор

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

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

Зависимости

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

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

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

trunc

Install

$ npm i --save trunc

Usage

import trunc from 'trunc'

const str = 'string theory'

trunc(str, 3)
// str...

API

trunc(string, value)

Truncates a string to whatever value you pass in

License

MIT © Vito Belgiorno-Zegna

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

Версия
0.0.1