Detalhes do pacote

@hint/utils-i18n

webhintio118.7kApache-2.01.0.15

util for i18n

hint, hint-utils-i18n, i18n, utils

readme (leia-me)

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:

npm install hint --save-dev

Utils

  • format: Format a string given substitutions.
  • getCategoryName: Return the localized category name.
  • getMessage: Get the localized message.