0.3.1 • Published 7 years ago

create-element-cli v0.3.1

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

Custom Element CLI

This is a simple CLI tool that can quickly create Javascript templates for v1-spec custom elements.

Installation

To install, simply run:

npm i -g create-element-cli

Creating an Element

To create an element, run the following:

create-element [element-name]

This will create [element-name].js in the folder where the command was run, where [element-name] is the name of the literal element that you want to create.

Create a Module

To create an element as it's own project/module, run the following:

create-element --module [element-name]

This will create:

in your current working directory.