13 रिपॉजिटरी
Objects that wrap other objects to intercept and redefine fundamental runtime operations.
Distinct from Method Interception Proxies: Candidates focus on AOP method interception or API proxies rather than the JS Proxy primitive.
Explore 13 awesome GitHub repositories matching programming languages & runtimes · Proxy Objects. Refine with filters or upvote what's useful.
This project is a comprehensive reference guide and technical documentation for the features, syntax updates, and APIs introduced in ECMAScript 6. It serves as a language specification and overview for modern JavaScript development. The guide covers a wide range of language enhancements, including the implementation of classes and prototype-based inheritance, the use of arrow functions for lexical scope binding, and the introduction of block-scoped variables. It details the module system for organizing independent code components via import and export statements. The documentation extends to
Documents the use of proxies to trap and customize runtime-level meta-operations.
Mockito is a Java mocking framework and JUnit testing library used to create simulated objects and stub method calls to isolate components during unit tests. It functions as a dynamic proxy generator and bytecode instrumentation tool, allowing for the creation of runtime substitutes that mimic the behavior of real classes. The framework distinguishes itself by providing the ability to mock final classes and methods, bypassing standard language restrictions through bytecode modification. This capability enables the testing of legacy code that lacks interfaces. The toolset covers behavioral mo
Generates runtime proxy objects that intercept and redefine method operations to mimic real classes.
q is a JavaScript promise library and asynchronous flow controller designed to manage non-blocking operations. It serves as a system for coordinating parallel tasks and sequencing asynchronous workflows through task chaining and error propagation. The library distinguishes itself with specialized debugging tools that capture long stack traces across asynchronous jumps and monitor unhandled rejections to prevent silent failures. It also functions as a remote object proxy, forwarding method calls to remote targets and routing responses back through promises. The project provides comprehensive
Allows asynchronous manipulation of proxied object properties and methods using promise-based getters and setters.
Comlink is a remote procedure call library that transforms message-based communication into asynchronous function calls between the main thread and web workers. It provides a proxy-based interface that allows multiple threads to interact with a single object instance without manual message handling. The project enables the execution of functions across separate browser windows, iframes, and web workers, making external calls behave like local asynchronous operations. It supports the transfer of non-cloneable data through custom serialization handlers and allows for the movement of ownership f
Manages memory by explicitly detaching proxies from remote objects to trigger garbage collection.
Android Tech Frontier is a project that periodically translates high-quality English Android development articles into Chinese for the developer community. Its core identity is as a translation pipeline that covers topics including Android internals, open-source libraries, software architecture, and testing methodologies. The project distinguishes itself by providing Chinese translations of technical content that spans Android view hierarchy analysis, HTTP request execution patterns, proxy creation techniques, and image loading configuration. It also covers UI layout solutions such as nesting
Wraps a real object inside a proxy that adds extra behavior before or after method calls.
Goja is a JavaScript engine and ECMAScript compliant interpreter implemented entirely in Go. It serves as an embedded scripting engine that allows Go applications to execute JavaScript code and integrate a programmable scripting layer without relying on Cgo or external native dependencies. The project functions as a bridge between Go and JavaScript, enabling bidirectional data exchange and function invocation. It allows Go hosts to expose native structs, slices, and maps as JavaScript objects and arrays, while providing mechanisms to export script values and functions back into native Go type
Implements proxy objects that wrap target objects to intercept and redefine operations like property access.
Draper is a presentation layer framework and decorator library for Ruby on Rails that implements the view-model pattern. It serves as a proxy-based system to separate presentation logic from business models, allowing view-specific data transformations to be isolated from the underlying data. The framework provides specialized capabilities for managing how data is displayed, including the ability to wrap single objects or entire collections. It supports recursive decoration for associated models and the injection of view context and request state into decorators to allow for conditional presen
Uses a proxy-based system to intercept and extend the behavior of model objects for presentation.
ProxyManager is a JavaScript proxy wrapper library and object-oriented utility for intercepting and modifying object behavior. It functions as an object behavior interceptor that wraps target objects to monitor, restrict, or modify method calls and property access at runtime. The library provides mechanisms for lazy initialization and lazy loading, deferring the creation of resource-heavy objects until a property or method is first accessed to reduce memory overhead. It uses an object-oriented structure to manage these proxy wrappers and their associated target objects. The tool covers capab
Wraps target objects in proxies to intercept and redefine fundamental runtime operations.
Radash, डेटा रूपांतरण, सत्यापन और वर्कफ़्लो प्रबंधन के लिए डिज़ाइन की गई एक TypeScript कार्यात्मक उपयोगिता लाइब्रेरी है। यह एरे, ऑब्जेक्ट्स और स्ट्रिंग्स में हेरफेर करने के लिए टाइप्ड हेल्पर फंक्शन्स का एक संग्रह प्रदान करती है। इस प्रोजेक्ट में प्रॉमिस, रिट्रीज़ और कॉनकरेंसी लिमिट्स को प्रबंधित करने के लिए एक एसिंक्रोनस वर्कफ़्लो टूलकिट है, साथ ही प्रिमिटिव प्रकारों, ऑब्जेक्ट्स और प्रॉमिस को सत्यापित करने के लिए बूलियन वैलिडेटर्स का एक सुइट है। यह फंक्शन कंपोज़िशन, पार्शियल एप्लिकेशन और एरर-फर्स्ट रिस्पॉन्स पैटर्न जैसे कार्यात्मक प्रोग्रामिंग पैटर्न को भी लागू करता है। लाइब्रेरी डीप क्लोनिंग और मर्जिंग के साथ ऑब्जेक्ट स्टेट प्रबंधन, जटिल एरे हेरफेर और स्ट्रिंग फॉर्मेटिंग सहित क्षमताओं की एक विस्तृत सतह को कवर करती है। यह अतिरिक्त रूप से निष्पादन ऑप्टिमाइज़ेशन के लिए टूल्स प्रदान करती है, जैसे कि रेट लिमिटिंग और रिजल्ट कैशिंग।
Simplifies the creation of proxy objects to intercept and redefine property access and function calls.
Workerize एक वेब वर्कर मॉड्यूल लोडर और मुख्य थ्रेड ऑफलोडर है। यह एक एसिंक्रोनस प्रॉक्सी रैपर के रूप में कार्य करता है जो JavaScript मॉड्यूल को बैकग्राउंड वर्कर्स में चलाने की अनुमति देता है, जो कम्प्यूटेशनल रूप से महंगे कार्यों को अलग थ्रेड्स में सौंपकर ब्राउज़र UI फ़्रीज़ को रोकता है। यह प्रोजेक्ट बैकग्राउंड वर्कर के अंदर कार्यों को कॉल करने के लिए एक प्रॉक्सी-आधारित इंटरफ़ेस का उपयोग करता है जैसे कि वे स्थानीय एसिंक्रोनस कॉल हों। यह तंत्र मुख्य थ्रेड प्रतिक्रियाशीलता बनाए रखने के लिए समानांतर वर्कर्स में मॉड्यूल के निष्पादन को सक्षम बनाता है। यह सिस्टम एसिंक्रोनस मॉड्यूल निष्पादन और वेब वर्कर एकीकरण को कवर करता है, जो भारी लॉजिक को प्राथमिक निष्पादन थ्रेड से हटाकर मुख्य थ्रेड अनुकूलन पर केंद्रित है।
Provides a proxy-based interface that allows worker functions to be called as if they were local asynchronous calls.
This project is an ECMAScript 2015 reference guide and JavaScript language cheat sheet. It provides a concise summary of the language specifications, syntax updates, and new features introduced in the 2015 standard. The guide serves as a technical overview of modern language patterns used to manage modular code structures and asynchronous operations. It functions as a reference for implementing current coding standards and studying core updates to the language. The content covers a wide range of capabilities, including asynchronous programming, object modeling, and module management. It deta
Provides a reference for using Proxy objects to intercept and redefine object operations.
यह प्रोजेक्ट एक निर्देशात्मक रिपॉजिटरी और शिक्षण संसाधन है जो अध्ययन नोट्स, प्रोग्रामिंग गाइड और चलाने योग्य सोर्स कोड उदाहरणों का एक व्यापक संग्रह प्रदान करता है। यह Java SE और Java वेब डेवलपमेंट के लिए एक गाइड के रूप में कार्य करता है, जिसमें कोड नमूनों की एक लाइब्रेरी है जो सामान्य एल्गोरिदम और तकनीकी कार्यान्वयन का प्रदर्शन करती है। यह रिपॉजिटरी भाषा कोर और रनटाइम विश्लेषण पर केंद्रित है, जिसमें मल्टीथ्रेडिंग और कॉन्करेंसी पर विस्तृत ट्यूटोरियल हैं। यह सॉफ्टवेयर आर्किटेक्चर और डिज़ाइन पैटर्न, जैसे कि सिंगलटन और स्ट्रैटेजी पैटर्न के व्यावहारिक कार्यान्वयन प्रदान करता है, साथ ही Java Virtual Machine और बाइटकोड की खोज भी करता है। यह प्रोजेक्ट जेनेरिक्स और एनोटेशन जैसी भाषा की बुनियादी बातों, HTTP अनुरोध हैंडलिंग और सत्र प्रबंधन से जुड़े वेब डेवलपमेंट बेसिक्स, और थ्रेड लाइफसाइकिल और संसाधन सिंक्रनाइज़ेशन के लिए कॉन्करेंसी प्रिमिटिव्स सहित क्षमताओं की एक विस्तृत श्रृंखला को कवर करता है। इसमें सुरक्षा, डेटा प्रसंस्करण और डायनामिक पेज निर्माण के लिए उपयोगिताएँ भी शामिल हैं।
Provides proxy objects that wrap target objects to intercept and redefine runtime operations for preprocessing or filtering.
vm2 एक Node.js JavaScript सैंडबॉक्स और रनटाइम वर्चुअलाइज़र है जिसे अविश्वसनीय कोड निष्पादित करने के लिए डिज़ाइन किया गया है। यह एक सुरक्षित कोड इवैल्यूएटर और मॉड्यूल आइसोलेटर के रूप में कार्य करता है जो Node.js रनटाइम तक प्रतिबंधित पहुंच के साथ एक अलग निष्पादन वातावरण बनाकर होस्ट प्रक्रिया की सुरक्षा करता है। यह सिस्टम एक सुरक्षा फ्रेमवर्क के माध्यम से खुद को अलग करता है जो सैंडबॉक्स्ड स्क्रिप्ट्स को होस्ट ग्लोबल कॉन्टेक्स्ट या साझा ऑब्जेक्ट्स को संशोधित करने से रोकने के लिए ऑब्जेक्ट प्रॉक्सीइंग और डीप फ्रीज़िंग का उपयोग करता है। यह यह नियंत्रित करने के लिए कि कौन सी इन-बिल्ट या बाहरी डिपेंडेंसी लोड की जा सकती हैं, अलाउ-लिस्ट और पाथ प्रतिबंधों का उपयोग करके सख्त मॉड्यूल एक्सेस कंट्रोल लागू करता है। यह प्रोजेक्ट संसाधन प्रबंधन सहित व्यापक क्षमता क्षेत्रों को कवर करता है, जहां यह बफ़र्स के लिए मेमोरी आवंटन को सीमित करता है और डिनायल-ऑफ-सर्विस हमलों को रोकने के लिए निष्पादन टाइमआउट लागू करता है। यह फाइलसिस्टम एक्सेस प्रतिबंध और क्रॉस-सैंडबॉक्स इंटरऑपरेबिलिटी और कंसोल आउटपुट रीडायरेक्शन के लिए उपकरण भी प्रदान करता है। अलग-थलग सैंडबॉक्स वातावरण के भीतर सीधे JavaScript फाइलों को निष्पादित करने के लिए एक कमांड-लाइन इंटरफेस उपलब्ध है।
Wraps host objects in proxies to intercept property access and prevent unauthorized mutations or leaks.