Socket
Book a DemoInstallSign in
Socket

@labor-digital/bits-lit-html

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@labor-digital/bits-lit-html

Plugin for the bits library to add lit-html integration

latest
Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

LABOR - Bits - Lit Html

While bits has the dedicated scope of working with server rendered HTML, and provides some basic JS templating functionality, you might want to get a bit more sophisticated.

For this I trust in the standalone templating engine lit-html which is part of the lit web component framework.

Installation

Install the plugin through npm:

npm install @labor-digital/bits-lit-html

Register it in your plugin section:

import {BitApp} from '@labor-digital/bits';
import {LitHtmlPlugin} from '@labor-digital/bits-lit-html';

new BitApp({
    bits: { /* ... */},
    plugins: [
        new LitHtmlPlugin()
    ]
});

Documentation

The documentation can be found here.

Postcardware

You're free to use this package, but if it makes it to your production environment, we highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using.

Our address is: LABOR.digital - Fischtorplatz 21 - 55116 Mainz, Germany.

We publish all received postcards on our company website.

FAQs

Package last updated on 19 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts