Skip to content

andremalveira/create-html5-app

Repository files navigation



Create HTML5 App

License-MIT   NPM Version

Create a new simple project in HTML5 with one command.


Versions:

  • v1.0.0 - [Realese]: Create simple HTML5 structure
  • v1.1.0 - [Feature]: Added cli options and second html5 example

Global Install

npm i -g create-html5-app
create-html5-app name
cd name

OR:

Using npx

npx create-html5-app name
cd name

⚠️ There is no command to start the project as it is a simple example in html5.


Commands

Command Alias Description
create-html5-app cha main command

Options

Options Alias Description
--example name --e create app based on an example
--page name --p create new page in html
--git --g Initialize git

How to use (command example):

// Creating a app
create-html5-app app-name

// Criating a app with example
create-html5-app app-name --example with-scss

// Creating a html page
create-html5-app --page about 
// or --page pages/about


// [create-html5-app] has an alias called [cha], you can use it like this:
// cha app-name

use npx before create-html5-app if you haven't installed the cli globally


License

Create HTML5 App is licensed under the MIT License.