HTMLless
The HTMLless flag allows you to use Main JS on your existing website without Main HTML themes or wireframes.
Developer Features
HTML tags
Main has a HTML element (also known as the <main> tag) and a main ECMAscript library (also known as main.js library,) including head snippet and CSS wireframe.
Less dependencies mode
Main JS optional head snippet features a HTMLless mode allowing you to load the library in an environment with less dependencies on themes and CSS wireframes.
Semantic versioning
Main JS uses semantic versioning for compatibility tracking, feature designation and patch rollout tracking, these are compared between snippets and libraries for quality assurance.
HTMLless performance
Main JS has an optional head snippet, loading this on any page improves performance by handling wireframes, lazy loading style sheets, managing render blocking script resources and base path refactorisation.