@hint/utils-i18n
Version:
util for i18n
19 lines (12 loc) • 416 B
Markdown
# I18n utils (`@hint/utils-i18n`)
Set of helpers to print to allow i18n in webhint.
## Installation
This package is installed automatically when adding webhint to your project
so running the following is enough:
```bash
npm install hint --save-dev
```
## Utils
* `format`: Format a string given substitutions.
* `getCategoryName`: Return the localized category name.
* `getMessage`: Get the localized message.