0.0.2 • Published 10 months ago

@blueprintui/custom-element-types v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

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
ArgsDescription
typejsx, react, preact, angular, typescript, blazor
custom-elementsoptional custom path to custom-elements.json file
writewrite to file, optionally provide a output directory path
entrypointpackage name for base entrypoint import path, else defaults to relative path

Examples

0.0.2

10 months ago

0.0.0

10 months ago