1.0.3 • Published 3 years ago
copy-html v1.0.3
copy-html
Output html file to standard output. You can copy and use them.
install
npm install copy-html
usage
$ copy-html
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>ページタイトル</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- ヘッダー -->
<header>
ヘッダーの中身
</header>
<!-- メインコンテンツ -->
<main>
メインコンテンツの中身
</main>
<!-- フッター -->
<footer>
フッターの中身
</footer>
<script src="sample.js"></script>
</body>
</html
Customize
You can save your original Templete at node_modules/copy-html/html/index.html