Skip to content

A generator to create type definitions for applications using Custom Elements (Web Components).

License

Notifications You must be signed in to change notification settings

blueprintui/custom-element-types

Repository files navigation

custom-element-types

npm version CI Build

A generator to create type definitions and framework bindings for applications using Web Components (Custom Elements).

Getting Started

Install via NPM

npm install --save-dev custom-element-types

Playground

If you have a published Web Component library you can try out the generator playground.

CLI

custom-element-types --write --type react --entrypoint @blueprintui/components
Args Description
type react, preact, angular, typescript, blazor
custom-elements optional custom path to custom-elements.json file
write write to file, optionally provide a output directory path
entrypoint package name for base entrypoint import path, else defaults to relative path

Examples

About

A generator to create type definitions for applications using Custom Elements (Web Components).

Resources

License

Stars

Watchers

Forks

Packages

No packages published