entity-decode

WebJar for entity-decode

Лицензия

Лицензия

MIT
Группа

Группа

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

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

entity-decode
Последняя версия

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

2.0.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

entity-decode
WebJar for entity-decode
Ссылка на сайт

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

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

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

https://github.com/shrpne/entity-decode

Скачать entity-decode

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

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

Зависимости

compile (1)

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

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

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

entity-decode

This purpose of this library is to provide a single interface to browser and node decode implementation.

It is using the following two underlying implementations:

  • Browser: micro decode implementation using browser's NodeElement.textContent method
  • Node: he

Example usage

// Load default implementation
var decode = require('entity-decode');

// Load specific version
var decode = require('entity-decode/browser') // browser version
var decode = require('entity-decode/node') // node version

decode('foo &copy; bar &ne; baz &#x1D306; qux') 
// returns 'foo © bar ≠ baz 𝌆 qux'

License

entity-decode is available under the MIT license.

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

Версия
2.0.2