custom-element-types
TypeScript icon, indicating that this package has built-in type declarations

0.2.7 • Public • Published

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

/custom-element-types/

    Package Sidebar

    Install

    npm i custom-element-types

    Weekly Downloads

    8

    Version

    0.2.7

    License

    MIT

    Unpacked Size

    23.7 kB

    Total Files

    18

    Last publish

    Collaborators

    • coryrylan