2 مستودعات
Tools that transform template strings into executable JavaScript functions for dynamic text generation.
Distinct from Precompiled Template Execution: None of the candidates specifically cover a general-purpose JavaScript template engine identity without being too narrow (like URL paths) or too broad (like JS runtimes).
Explore 2 awesome GitHub repositories matching web development · JavaScript Template Engines. Refine with filters or upvote what's useful.
doT هو محرك قوالب JavaScript مجمع ونظام عرض يستخدم لتوليد نصوص وHTML ديناميكية لكل من واجهات المتصفح وبيئات خادم Node.js. يحول سلاسل القوالب إلى دوال JavaScript قابلة للتنفيذ لإنتاج مخرجات نصية عبر بيئات تشغيل مختلفة. يركز النظام على تجميع ملفات مصدر القوالب مسبقاً في وحدات JavaScript مستقلة في وقت البناء. تلغي هذه العملية عبء التجميع في وقت التشغيل، وتزيد من سرعة التنفيذ، وتمنع حقن الكود الضار. يدعم المحرك الاستيفاء القائم على المنطق باستخدام الشروط ومكررات المصفوفات، بالإضافة إلى إنشاء أجزاء ووحدات ماكرو قابلة لإعادة الاستخدام. تشمل القدرات الإضافية التحكم في المسافات البيضاء، وتكوين المحددات المخصصة، والقدرة على تعيين هياكل الأدلة تلقائياً إلى معرفات القوالب.
Transforms template strings into executable JavaScript functions for dynamic text generation in browsers and Node.js.
ejs is an embedded JavaScript template engine for Node.js that generates HTML and other text formats by embedding JavaScript logic into templates. It functions as a server-side rendering engine and HTML template processor that merges static markup with dynamic data. The system operates as a compiled template library, converting templates into JavaScript functions to enable cached rendering and faster execution. It includes built-in security to prevent cross-site scripting by automatically escaping HTML entities and special characters during the rendering process. The engine supports modular
Provides a JavaScript template engine for Node.js that transforms template strings into executable functions for text generation.