Skip to content

GW2Treasures/gw2-tooltip-html

Repository files navigation

gw2-tooltip-html

version license build

Parses markup text from Guild Wars 2 tooltips to html.

Installation

Install this module with your favorite package manager, e.g. npm install gw2-tooltip-html.

Usage

import { format } from 'gw2-tooltip-html';

format('<c=@abilitytype>Heat Threshold</c>')
// ⇒ '<span class="color-format--abilitytype">Heat Threshold</span>'

License

gw2-tooltip-html is licensed under the MIT License.

About

Parses markup text from Guild Wars 2 tooltips to html

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •