hcj-generator

1.0.0 • Public • Published

HCJ Generator (HTML, CSS and JavaScript).

NPM Version License

Generate semantic HTML for web pages easily with this npm package. This package provides a function to generate semantic HTML with optional CSS and JavaScript links.

Installation

To install this package, use npm:

npm install hcj-generator

Usage

const hcjGenerator = require('hcj-generator');

// Generate semantic HTML
hcjGenerator('output.html', 'path/to/styles.css', 'path/to/script.js');

Function: hcjGenerator(path, cssPath, jsPath)

Generates a semantic HTML file.

  • path (string): The path where the HTML file will be generated.
  • cssPath (string): The path to the CSS file (optional, pass undefined if not needed).
  • jsPath (string): The path to the JavaScript file (optional, pass undefined if not needed).

Example:

hcjGenerator('output.html', 'path/to/styles.css', 'path/to/script.js');

License

This project is licensed under the MIT License - see the LICENSE file for details.


Feel free to customize this template based on the specifics of your package and add more sections or details as needed. You may want to include sections for contributing, testing, and troubleshooting, depending on the complexity and nature of your package.

Package Sidebar

Install

npm i hcj-generator

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

5.41 kB

Total Files

5

Last publish

Collaborators

  • hsnmu