ryanmcdermott

    ryanmcdermott/clean-code-javascript

    Clean Code concepts adapted for JavaScript

    94.7K stars
    12.6K forks
    94.7K GitHub watchers
    Updated Nov 2, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    The project lists 105 contributors on GitHub.

    Peaked at #21 in the weekly ranking the week of Jun 28, its best in the past year.

    Use Cases & Benefits

    • Adapts Clean Code principles specifically for writing readable, reusable, and maintainable JavaScript code.
    • Provides practical guidelines and examples to improve code quality beyond style, focusing on architecture and best practices.
    • Use for improving JavaScript code readability and maintainability in existing projects through refactoring.
    • Use for educating developers on clean coding standards and principles tailored to JavaScript language features.
    • Use for establishing team-wide coding conventions that emphasize single-responsibility functions and avoiding side effects.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present

    Watch-outs

    • Warning: No commits in over a year (last push Jul 2024).
    • No GitHub releases; pin a commit or tag instead of a release.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Humorous image of software quality estimation as a count of how many expletives
you shout when reading code

    Software engineering principles, from Robert C. Martin's book Clean Code, adapted for JavaScript. This is not a style guide. It's a guide to producing readable, reusable, and refactorable software in JavaScript.

    Not every principle herein has to be strictly followed, and even fewer will be universally agreed upon. These are guidelines and nothing more, but they are ones codified over many years of collective experience by the authors of Clean Code.

    Our craft of software engineering is just a bit over 50 years old, and we are still learning a lot. When software architecture is as old as architecture itself, maybe then we will have harder rules to follow. For now, let these guidelines serve as a touchstone by which to assess the quality of the JavaScript code that you and your team produce.

    One more thing: knowing these won't immediately make you a better software developer, and working with them for many years doesn't mean you won't make mistakes. Every piece of code starts as a first draft, like wet clay getting shaped into its final form. Finally, we chisel away the imperfections when we review it with our peers. Don't beat yourself up for first drafts that need improvement. Beat up the code instead!

    Excerpt from the ryanmcdermott/clean-code-javascript README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    12.6K+30

    Open issues

    124+1

    Compared with peers in Web

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    ryanmcdermott/clean-code-javascript compared with Web repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    pingdotgg/t3code55.7K+12.2K75today
    pbakaus/impeccable107.6K+6.1K751 day ago
    meta/astryx22.8K+4.8K75today
    Renhuai123/ziwei-doushu17.5K+3.7K7526 days ago
    ranxianglei/billion-context6.3K+2.4K753 days ago
    ryanmcdermott/clean-code-javascript94.7K—35—
    Category median22.8K+4.8K75—

    Discover Repositories

    Search across tracked repositories by name or description