htmlinit-command

1.0.7 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i htmlinit-command

Weekly Downloads

2

Version

1.0.7

License

MIT

Unpacked Size

4.16 kB

Total Files

11

Last publish

Collaborators

  • martian17