awesome-repositories.com
Blog
MCP
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
jayphelps avatar

jayphelps/core-decoratorsArchived

0
View on GitHub↗
4,495 stars·255 forks·JavaScript·MIT·4 vues

Core Decorators

core-decorators est une bibliothèque de décorateurs de classe JavaScript et un utilitaire de framework pour étendre les fonctionnalités des classes. Elle fournit une collection d'outils pour implémenter des mixins de comportement de classe, automatiser la liaison des méthodes pour éviter la configuration manuelle dans le constructeur, et vérifier que les méthodes des sous-classes surchargent correctement celles des parents.

La bibliothèque inclut une boîte à outils de dépréciation de code pour marquer les méthodes obsolètes avec des avertissements dans la console, ainsi qu'un profileur d'exécution de fonctions pour mesurer les performances et la durée. Elle permet en outre de modifier le comportement des classes et des méthodes via un système de décorateurs personnalisés et d'injection de logique partagée.

Ses capacités supplémentaires couvrent le contrôle des propriétés d'objet, y compris l'application de propriétés en lecture seule et la restriction de visibilité des propriétés. La boîte à outils fournit également des primitives de performance telles que la mise en cache des résultats et l'initialisation différée des propriétés pour retarder l'exécution jusqu'au premier accès.

Features

  • Behavioral Injection - Provides a comprehensive system of decorators for injecting shared behaviors and custom logic into JavaScript classes.
  • Class Mixins - Implements class behavior mixins to inject shared functionality from multiple sources into a single target class.
  • Override Validations - Ensuring that subclass methods correctly override parent methods to prevent accidental naming collisions or signature mismatches.
  • Automatic Context Binding - Automatically binds class methods to their instances to ensure the correct context is maintained during callbacks.
  • Function Context Binding - Provides utilities to permanently bind the this context to class instances for consistent function execution.
  • Function Decorators - Allows wrapping methods with custom helper functions or third-party utilities to augment their behavior.
  • Object Method Binding - Automatically associates class methods with their respective instances to avoid manual constructor binding.
  • General Purpose Mixins - Implements reusable class fragments to inject shared behavior across diverse class hierarchies.
  • Higher-Order Function Wrapping - Augments method behavior by wrapping original functions with helper logic for profiling, caching, or warning suppression.
  • Class Decorators - Provides a collection of class decorators to modify and extend the behavior of JavaScript classes and methods.
  • Automatic Method Binding - Ensures class methods maintain a permanent reference to the class instance without requiring manual constructor binding.
  • API Deprecation Tooling - Marks outdated methods as deprecated to warn developers and guide them toward newer API alternatives.
  • Override Enforcement - Verifies that subclass methods correctly override parent class methods to ensure architectural integrity.
  • Override Validation - Verifies that subclass methods correctly override parent class methods to prevent naming collisions and signature mismatches.
  • Override Verification - Verifies that subclass methods correctly override parent methods to prevent naming collisions and signature mismatches.
  • Deprecated Feature Markings - Provides a mechanism to flag methods as obsolete to warn developers through console warnings.
  • Lazy Property Initialization - Implements deferred property initialization to delay execution and reduce memory allocations until first access.
  • Method Wrapping - Applies external functions and arguments to a method to wrap it with custom logic.
  • Property Descriptors - Manipulates property descriptors to control the enumerability, writability, and configurability of class members.
  • Object Property Descriptor Controls - Enforces stricter data integrity by restricting property visibility and marking class members as read-only.
  • API Deprecation Notifications - Emits custom console warnings and URLs when deprecated methods are invoked to notify developers.
  • Developer Deprecation Warnings - Provides a toolkit for flagging obsolete methods with console warnings to guide developers during codebase migration.
  • Function Execution Timing - Tracks the elapsed time of function execution using console timing labels to identify bottlenecks.
  • Function Execution Timers - Measures the execution time of functions using browser console timers via decorators.
  • Performance Profilers - Triggers browser profiling using console timers for single runs or specific time intervals.
  • Performance Profiling - Includes tools to monitor execution time and resource usage to identify performance bottlenecks.

Historique des stars

Graphique de l'historique des stars pour jayphelps/core-decoratorsGraphique de l'historique des stars pour jayphelps/core-decorators

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Core Decorators

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Core Decorators.
  • jlfwong/speedscopeAvatar de jlfwong

    jlfwong/speedscope

    6,501Voir sur GitHub↗

    Speedscope is a web-based performance profiler that visualizes profiling data through interactive flamegraphs and timeline views. It ingests performance profiles from a wide range of sources, including Chrome, Firefox, Safari, Node.js, .NET Core, Instruments, Hermes, GHC, and Ruby, normalizing them into a common schema for unified analysis. The tool distinguishes itself with a canvas-based rendering engine that draws flamegraphs without DOM nodes for each frame, and a WebAssembly-based rendering pipeline for high-performance drawing. It offers left-heavy stack sorting to surface the most time

    TypeScriptflamegraphflamegraphsperformance-profiling
    Voir sur GitHub↗6,501
  • omonimus1/competitive-programmingAvatar de omonimus1

    omonimus1/competitive-programming

    978Voir sur GitHub↗

    This repository serves as a comprehensive resource for competitive programming and technical interview preparation. It provides a structured collection of source code implementations for fundamental data structures and classic algorithmic problems, designed to help developers master core computer science concepts and efficient coding strategies. Beyond standard problem-solving, the project distinguishes itself by integrating software design patterns into its algorithmic implementations. It demonstrates how to apply structural and behavioral patterns—such as decorators, observers, and singleto

    C++algorithmalgorithms-and-data-structurescodechef-solutions
    Voir sur GitHub↗978
  • jazzband/django-silkAvatar de jazzband

    jazzband/django-silk

    4,926Voir sur GitHub↗

    Django Silk is a profiling and inspection toolset for Django applications designed to capture SQL queries, HTTP request data, and execution timing for diagnostics. It functions as a performance profiler and debugging middleware that records runtime execution data to provide a comprehensive overview of application behavior. The system includes a database profiler for identifying slow operations through detailed timing data and an HTTP request inspector for reviewing headers, bodies, and network traffic via a web interface. It allows for the reproduction of specific server requests through gene

    Python
    Voir sur GitHub↗4,926
  • greatfrontend/top-javascript-interview-questionsAvatar de greatfrontend

    greatfrontend/top-javascript-interview-questions

    9,685Voir sur GitHub↗

    This project is a technical interview preparation resource focused on JavaScript. It provides a collection of common technical questions, detailed answers, and conceptual quizzes designed to help users master core language fundamentals and browser APIs. The resource utilizes an interactive infrastructure that includes a coding workspace with in-browser runtime execution and an automated test suite to validate code correctness. It organizes content through curated learning paths and modular concept mapping to decompose complex language fundamentals into searchable study modules. The curriculu

    MDXfront-end-developmentinterviewsjavascript
    Voir sur GitHub↗9,685
Voir les 30 alternatives à Core Decorators→

Questions fréquentes

Que fait jayphelps/core-decorators ?

core-decorators est une bibliothèque de décorateurs de classe JavaScript et un utilitaire de framework pour étendre les fonctionnalités des classes. Elle fournit une collection d'outils pour implémenter des mixins de comportement de classe, automatiser la liaison des méthodes pour éviter la configuration manuelle dans le constructeur, et vérifier que les méthodes des sous-classes surchargent correctement celles des parents.

Quelles sont les fonctionnalités principales de jayphelps/core-decorators ?

Les fonctionnalités principales de jayphelps/core-decorators sont : Behavioral Injection, Class Mixins, Override Validations, Automatic Context Binding, Function Context Binding, Function Decorators, Object Method Binding, General Purpose Mixins.

Quelles sont les alternatives open-source à jayphelps/core-decorators ?

Les alternatives open-source à jayphelps/core-decorators incluent : omonimus1/competitive-programming — This repository serves as a comprehensive resource for competitive programming and technical interview preparation. It… jlfwong/speedscope — Speedscope is a web-based performance profiler that visualizes profiling data through interactive flamegraphs and… jazzband/django-silk — Django Silk is a profiling and inspection toolset for Django applications designed to capture SQL queries, HTTP… greatfrontend/top-javascript-interview-questions — This project is a technical interview preparation resource focused on JavaScript. It provides a collection of common… easylogging/easyloggingpp — Easyloggingpp is a header-only C++ logging framework and diagnostic tool designed for recording system events and… folke/snacks.nvim — snacks.nvim is a comprehensive collection of quality-of-life plugins and utilities designed to extend the core…