alphanum-sort

WebJar for alphanum-sort

Лицензия

Лицензия

MIT
Группа

Группа

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

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

alphanum-sort
Последняя версия

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

1.0.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

alphanum-sort
WebJar for alphanum-sort
Ссылка на сайт

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

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

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

https://github.com/TrySound/alphanum-sort

Скачать alphanum-sort

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

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

Зависимости

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

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

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

alphanum-sort

Build Status

Alphanumeric sorting algorithm

Install

With npm do:

npm i alphanum-sort -S

Example

var sort = require('alphanum-sort');

var result = sort(['item20', 'item19', 'item1', 'item10', 'item2']);
// ['item1', 'item2', 'item10', 'item19', 'item20']

API

alphanumSort(array, options)

options

insensitive

Type: Boolean Default: false

Compares items case insensitively

sign

Type: Boolean Default: false

Allows + and - characters before numbers

License

MIT © Bogdan Chadkin

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

Версия
1.0.2