3 रिपॉजिटरी
Tools for defining the behavior of simulated runtime environments during static analysis.
Distinct from Model Execution Environments: Unlike AI model execution environments, this focuses on simulating JS runtime globals for a compiler.
Explore 3 awesome GitHub repositories matching programming languages & runtimes · Runtime Environment Simulations. Refine with filters or upvote what's useful.
Prepack is a build-time code evaluator and JavaScript bundle optimizer. It functions as a static analysis compiler that pre-evaluates static code and precalculates function results and global assignments during the build phase to accelerate startup times and reduce bundle size. The project specifically targets JSX optimization by processing syntax and node serialization to improve user interface rendering efficiency. It utilizes a partial evaluation engine and static execution analysis to replace runtime computations with precalculated constants. The tool covers a range of capabilities inclu
Defines the behavior of environment-specific globals to evaluate code referencing browser or server objects.
Uncss is a build pipeline CSS optimizer and optimization tool designed to remove unused styles from stylesheets. It analyzes HTML files to identify and strip selectors that do not match any elements in the markup, reducing the final stylesheet size and overall web page weight. The tool functions as a DOM-based CSS analyzer that can simulate runtime document states. It provides mechanisms to preserve required selectors through the use of literal names, regular expressions, and specialized CSS comment markers to ensure styles triggered by user interactions are not deleted. The project supports
Executes custom JavaScript scripts to modify the document state to account for dynamic class additions.
kbone एक आइसोमॉर्फिक फ्रंटएंड फ्रेमवर्क और वेब-टू-मिनी-प्रोग्राम एडाप्टर है। यह एक क्रॉस-प्लेटफॉर्म UI ब्रिज और DOM सिमुलेशन लाइब्रेरी के रूप में कार्य करता है, जो JavaScript कोड के लिए ब्राउज़र वातावरण का अनुकरण करके वेब एप्लिकेशन को WeChat Mini Programs के अंदर चलाने की अनुमति देता है। यह प्रोजेक्ट सिम्युलेटेड ब्राउज़र इंटरफेस और API प्रदान करके वेब UI फ्रेमवर्क को प्रतिबंधित वातावरण में माइग्रेट करने में सक्षम बनाता है। यह स्टैंडर्ड वेब कंपोनेंट्स और राउटिंग को नेटिव मिनी प्रोग्राम एलिमेंट्स में अनुवादित करता है। इसमें आइसोमॉर्फिक राउटिंग, ब्राउज़र API पॉलीफिलिंग और प्लेटफॉर्म-विशिष्ट कंपोनेंट मैपिंग जैसी व्यापक क्षमताएं शामिल हैं।
Implements a compatibility layer that maps web component behaviors and property updates to a native view hierarchy.