@lit/localize
TypeScript icon, indicating that this package has built-in type declarations

0.12.1 • Public • Published

@lit/localize

Published on NPM Test status

Lit Localize provides localization/internationalization support for Lit templates. See lit.dev for full documentation.

This is the repo for @lit/localize, the package provides the library that runs in the browser and contains msg and other utilities.

See also @lit/localize-tools, the package that provides the lit-localize command-line tool for extracting messages and building localized apps.

Installation

npm i @lit/localize

Usage

render() {
  return msg(html`Hello <b>World</b>`);
}

Documentation

Full documentation is available on lit.dev.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @lit/localize

    Weekly Downloads

    20,755

    Version

    0.12.1

    License

    BSD-3-Clause

    Unpacked Size

    85.9 kB

    Total Files

    59

    Last publish

    Collaborators

    • augustjk
    • lit-robot
    • kevinpschaaf
    • jbingham
    • sorvell
    • rictic
    • graynorton
    • justinfagnani
    • aomarks