{"library":"html5-tag","type":"library","category":null,"description":"html5-tag is a lightweight JavaScript utility designed for programmatically generating HTML5 tags and handling their attributes. Its primary function is to create HTML strings, correctly managing void elements (e.g., `<br>`, `<input>`) by omitting their closing tags, and automatically escaping attribute values to prevent XSS vulnerabilities. The current stable version is 0.3.0, released in 2016, indicating a very slow release cadence and likely an abandoned status. Unlike full-fledged templating engines or JSX, html5-tag focuses solely on simple string concatenation for server-side HTML generation, making it suitable for scenarios where a minimal, dependency-free solution for basic HTML element creation is preferred. A key differentiator is its automatic handling of attribute escaping and void elements, abstracting away common HTML syntax pitfalls.","language":"javascript","status":"abandoned","version":"0.3.0","tags":["javascript","attr","attribute","attributes","element","elements","generate","html","html5"],"last_verified":"Wed May 27","install":[{"cmd":"npm install html5-tag","imports":["import tag from 'html5-tag'","const tag = require('html5-tag');"]},{"cmd":"yarn add html5-tag","imports":[]},{"cmd":"pnpm add html5-tag","imports":[]}],"homepage":null,"github":"https://github.com/cheton/html5-tag","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/html5-tag","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/html5-tag/compatibility"}}