jaisocx_sites_tools

Improved Template Renderer

💡 The package does …
📖️ Library @jaisocx/improved-template-renderer 🏷️ ver.: 1.2.1
🗓 Updated Winter 2026 Tue Jan 20 06:28:29 CET 2026
📐 Size 🗂 Folder: 182 KB 📦 Tarball: _ KB 📋 .js: 5 KB
⚡ JS Engine 🌐 Browser: ✅ yes 🧭 Express: ✅ yes 🖥️ Console: ✅ yes

💡 The aim of the setup

The package does …

Interfaces

Improved Template Renderer

@jaisocx/improved-template-renderer

The foreach Tool))

Nothing new, and the JS frameworks do the rendering tasks best.

This lib is just the very few kb npm dependency, however with few features, too))

I tried to write the efficient algorythms to render the json of big sizes too.

The Example to obtain the imagination of the easiness to review and plan the HTML of Your dynamic rendered Site Tool


  //@lang JavaScript
  
  //@conf-type html structure.
  let templatesObject = {
    "tableOpen":                `<div class="table ">`,
    "colsLabelsHolderOpen":       `<div class="table-columns-labels-holder">`,
    "colLabelOpen":                 `<div class="table-column-label">`,
    "colLabelRendered":               ``,
    "colLabelClose":                `</div>`,
    "colsLabelsHolderClose":      `</div>`,
    "recordsHolderOpen":          `<div class="table-records-holder">`,
    "recordOpen":                   `<div class="table-record">`,
    "fieldOpen":                      `<div class="table-field">`,
    "fieldRendered":                    ``,
    "fieldClose":                     `</div>`,
    "recordClose":                  `</div>`,
    "recordsHolderClose":         `</div>`,
    "tableClose":               `</div>`
  };
  

Have a nice day.

Elias, Software Architect of Jaisocx Company