1.0.7 • Published 3 years ago

htmlinit-command v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

htmlinit

This script sets up a basic HTML project template on a specified directory. Works on Mac and Linux (Have not tested windows)

Install

$ sudo npm install -g htmlinit-command

Usage

$ mkdir project
$ cd project
$ htmlinit
$ ls
htmlgen.js  index.html  main.js  README.md  style.css

Default files created

index.html

<!DOCTYPE html>
<html lang="en-US">
<head><title>default</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.css">
</head>
<body>
    <script src="main.js"></script>
</body>

style.css

body{
    margin:0px;
}

main.js

//empty file

README.md

# My Poject

htmlgen/htmlgen.js

//library code
1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago