repeating

WebJar for repeating

Лицензия

Лицензия

MIT
Группа

Группа

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

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

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

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

2.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

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

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

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

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

https://github.com/sindresorhus/repeating

Скачать repeating

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

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

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.webjars.npm : is-finite jar [1.0.0,2)

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

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

repeating Build Status

Repeat a string - fast

This module is moot now. Just use String#repeat().

Install

$ npm install repeating

Usage

const repeating = require('repeating');

repeating(5);
//=> '     '

repeating(100, 'unicorn ');
//=> 'unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn '

API

repeating(count, string?)

count

Type: number

Times the string should be repeated.

string

Type: string
Default: ' '

String to repeat.

Related


Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.

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

Версия
2.0.1
2.0.0
1.1.3
1.1.2