# Hyoml-JS

Hyoml JavaScript Parser and Formatter.
Supports relaxed JSON, YAML, Hyoml, and multi-format output.

## Features
- Relaxed JSON parsing (auto-fix common mistakes)
- Relaxed YML/Hyoml parsing
- Strict Mode validation
- Tag and Directive visiting
- Output formatting to JSON, YAML, TOML, XML, ENV, Markdown, HTML, SQL, Dot notation, and more
- Load input from Local Files, HTTP URLs, AWS S3, GCS, Azure Blob
- CLI Tools (`parse`, `format`, `validate`, `transform`, `info`)

## Install
```bash
npm install hyoml-js
Usage
const { HyomlParser } = require('hyoml-js')

const input = '{ name: "hyoml" }'
const parsed = HyomlParser.parse(input)

console.log(parsed)
CLI Usage
node src/cli/main.js parse examples/sample_input.hyoml
Project Structure
/src/parser/core/ — Core parsers

/src/parser/core/middleware/ — AutoFixer and Validator

/src/parser/core/visitors/ — TagVisitor and DirectiveVisitor

/src/utils/readerFactory.js + /utils/readers/ — Intelligent format readers

/src/utils/loaderFactory.js + /utils/loaders/ — Intelligent source loaders

/src/formats/ — Output formatters

/src/cli/ — CLI commands

/src/examples/ — Example usage

/src/tests/ — Unit tests

License
MIT


---
