remove-accents

WebJar for remove-accents

Лицензия

Лицензия

MIT
Группа

Группа

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

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

remove-accents
Последняя версия

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

0.4.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

remove-accents
WebJar for remove-accents
Ссылка на сайт

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

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

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

https://github.com/tyxla/remove-accents

Скачать remove-accents

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

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

Зависимости

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

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

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

remove-accents

Removes the accents from a string, converting them to their corresponding non-accented ASCII characters.

npm install remove-accents

Build Status

About

An easy to use solution for converting all accented characters to their corresponding non-accented ASCII characters.

Syntax

removeAccents(inputString)

inputString

The string that you wish to remove accents from.

Usage

Call removeAccents() by passing the string you wish to remove accents from, and you will get the non-accented string as result.

var input = 'ÀÁÂÃÄÅ';
var output = removeAccents(input);

console.log(output); // AAAAAA

Methods

The exported function also has helper methods.

has

Determine if a string has any accented characters.

var accents = require('remove-accents');

console.log(accents.has('ÀÁÂÃÄÅ')); // true
console.log(accents.has('ABC'));    // false

remove

Alias of removeAccents.

var accents = require('remove-accents');

console.log(accents.remove('ÀÁÂÃÄÅ')); // AAAAAA

License

MIT

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

Версия
0.4.2