How to use the @hint/utils-i18n.getMessage function in @hint/utils-i18n

To help you get started, we’ve selected a few @hint/utils-i18n examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github webhintio / webhint.io / src / server / routes / scanner.js View on Github external
return (key, substitutions) => {
        return getMessageUtils(key, formatterHTMLPath, {
            language,
            substitutions
        });
    };
};

@hint/utils-i18n

util for i18n

Apache-2.0
Latest version published 12 months ago

Package Health Score

85 / 100
Full package analysis