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

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 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·15 views

Core Decorators

core-decorators is a JavaScript class decorator library and framework utility for extending class functionality. It provides a collection of tools for implementing class behavior mixins, automating method binding to avoid manual constructor configuration, and verifying that subclass methods correctly override parent methods.

The library includes a code deprecation toolkit for flagging obsolete methods with console warnings and a function execution profiler for measuring performance and duration. It further enables the modification of class and method behavior through a system of custom decorators and shared logic injection.

Additional capabilities cover object property control, including the enforcement of read-only properties and the restriction of property visibility. The toolkit also provides performance primitives such as result caching and deferred property initialization to delay execution until first access.

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.

Star history

Star history chart for jayphelps/core-decoratorsStar history chart for jayphelps/core-decorators

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Core Decorators

Similar open-source projects, ranked by how many features they share with Core Decorators.
  • jlfwong/speedscopejlfwong avatar

    jlfwong/speedscope

    6,501View on 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
    View on GitHub↗6,501
  • omonimus1/competitive-programmingomonimus1 avatar

    omonimus1/competitive-programming

    978View on 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
    View on GitHub↗978
  • jazzband/django-silkjazzband avatar

    jazzband/django-silk

    4,926View on 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
    View on GitHub↗4,926
  • greatfrontend/top-javascript-interview-questionsgreatfrontend avatar

    greatfrontend/top-javascript-interview-questions

    9,685View on 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
    View on GitHub↗9,685
See all 30 alternatives to Core Decorators→

Frequently asked questions

What does jayphelps/core-decorators do?

core-decorators is a JavaScript class decorator library and framework utility for extending class functionality. It provides a collection of tools for implementing class behavior mixins, automating method binding to avoid manual constructor configuration, and verifying that subclass methods correctly override parent methods.

What are the main features of jayphelps/core-decorators?

The main features of jayphelps/core-decorators are: Behavioral Injection, Class Mixins, Override Validations, Automatic Context Binding, Function Context Binding, Function Decorators, Object Method Binding, General Purpose Mixins.

What are some open-source alternatives to jayphelps/core-decorators?

Open-source alternatives to jayphelps/core-decorators include: 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…