JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 67426
  • Score
    100M100P100Q157277F
  • License BSD-3-Clause

Localization client library for lit-html

Package Exports

  • @lit/localize
  • @lit/localize/init/reentrant.js
  • @lit/localize/internal/id-generation.js
  • @lit/localize/lit-localize.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@lit/localize) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@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.