-
Notifications
You must be signed in to change notification settings - Fork 14
/
blueprint.json
27 lines (27 loc) · 1.15 KB
/
blueprint.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"line": "rainbow",
"toc": true,
"placeholder": ["[[", "]]"],
"ids": {
"github": "andreasbm/lit-translate",
"npm": "lit-translate",
"webcomponents": "lit-translate"
},
"badges": [
{
"text": "Awesome",
"url": "https://github.com/web-padawan/awesome-lit-html",
"img": "https://awesome.re/badge.svg"
}
],
"bullets": [
"Contains a [lit](https://www.npmjs.com/package/lit) directive that automatically updates the translations when the language changes",
"Has a simple API that can return a translation for a given key using the dot notation (eg. `get(\"home.header.title\")`)",
"Works very well with JSON based translation data-structures",
"Can interpolate values into the strings using the {{ key }} syntax out of the box",
"Caches the translations for maximum performance",
"Has a very small footprint, approximately 800 bytes minified & gzipped (2kb without)",
"Extremely customizable, just about everything can be changed (eg. choose your own translations loader, how to interpolate values, empty placeholder and how to look up the strings)",
"Check out the playground [here](https://codepen.io/andreasbm/pen/MWWXPNO?editors=1010)"
]
}