indexes-of

WebJar for indexes-of

Лицензия

Лицензия

MIT
Категории

Категории

Dex Универсальные библиотеки Utility
Группа

Группа

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

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

indexes-of
Последняя версия

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

1.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

indexes-of
WebJar for indexes-of
Ссылка на сайт

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

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

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

https://github.com/dominictarr/indexes-of

Скачать indexes-of

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

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

Зависимости

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

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

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

indexes-of

like Array/String#indexOf but return all the indexes in an array.

var indexesOf = require('indexes-of')

var twosIndexes = indexesOf([1, 2, 3, 4, 5, 4, 3, 2, 1], 2)

console.log(twosIndexes)

// [1, 7]

Haiku

  • A 5 line module.
  • But the tests are 40 lines.
  • npm publish.

License

MIT

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

Версия
1.0.1