Socket
Socket
Sign inDemoInstall

@aldinh777/cml-parser

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @aldinh777/cml-parser

CML (Compacted Markup Language) Parser


Version published
Maintainers
1
Install size
12.3 kB
Created

Readme

Source

What is CML?

CML (Compacted Markup Language) is another attempt to compact html or xml document in general by triming anything as much as possible but still makes everything consistent and keep familiarities with usual html or xml tags

Here a sample CML code

div <
    h1 <This is Title>
    p <
        This is Paragraph br<>
        These are b<Bold> i<Italic> u<Underline> Text br<>
        These are b<i<u<Bolditalicunderline>>> Text br<>
    >
    button class="btn" type="button" <Press Me>
>

This is equal to html tag

<div>
    <h1>This is Title</h1>
    <p>
        This is Paragraph <br/>
        These are <b>Bold</b> <i>Italic</i> <u>Underline</u> Text <br/>
        These are <b><i><u>Bolditalicunderline</u></i></b> Text <br/>
    </p>
    <button class="btn" type="button">Press Me</button>
</div>

This inovation successfully reduce almost half the size of the real html document!!!

FAQs

Last updated on 05 Jan 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc