copy-html

Output html file to standard output. You can copy and use them. ## install ``` npm install copyhtml ``` ## custmize

Usage no npm install needed!

<script type="module">
  import copyHtml from 'https://cdn.skypack.dev/copy-html';
</script>

README

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