direction

WebJar for direction

Лицензия

Лицензия

MIT
Группа

Группа

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

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

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

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

1.0.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

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

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

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

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

https://github.com/wooorm/direction

Скачать direction

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

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

Зависимости

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

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

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

direction

Build Coverage Downloads Size

Detect direction: left-to-right, right-to-left, or neutral.

API

Install:

npm install direction

Use:

var direction = require('direction')

direction('A') // => 'ltr'
direction('anglais') // => 'ltr'
direction('بسيطة') // => 'rtl'
direction('@') // => 'neutral'

CLI

Install:

npm install -g direction

Use:

Usage: direction [options] <words...>

Detect directionality: left-to-right, right-to-left, or neutral

Options:

  -h, --help           output usage information
  -v, --version        output version number

Usage:

# output directionality
$ direction @
# neutral

# output directionality from stdin
$ echo 'الانجليزية' | direction
# rtl

License

MIT © Titus Wormer

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

Версия
1.0.3
1.0.2