htmlinit-command
v1.0.7
Published
creates a default html project in a current directory
Downloads
2
Readme
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