1.0.0 • Published 8 months ago

hcj-generator v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months ago

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.