# ryanmcdermott/clean-code-javascript

Clean Code concepts adapted for JavaScript

Repository: https://github.com/ryanmcdermott/clean-code-javascript
Canonical: https://ross.abutalabs.com/products/clean-code-javascript
Language: JavaScript
License: MIT
License Family: permissive
Topics: javascript, principles, composition, inheritance, clean-code, clean-architecture, best-practices
Last push: 2024-07-29T07:24:37+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3568, "days_push": 765, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 94765, forks 12619 (observed 2026-08-28T04:12:23.549510+00:00)

## What it is
A guide adapting Robert C. Martin's Clean Code principles to JavaScript, presented as a curated document of good and bad code examples. It is not a tool or library but an educational reference for writing readable, reusable, and refactorable JavaScript.

## Use cases
- learn clean code principles for javascript
- improve readability of my javascript codebase
- javascript naming and function best practices
- onboard new developers to code quality standards
- refactor messy javascript code
- understand SOLID principles in javascript
- team code review guidelines for javascript

## When to choose
- you write or review JavaScript and want actionable quality guidelines with examples
- you are teaching or onboarding developers on clean coding practices
- you want a free, widely adopted reference for JavaScript code style beyond linting rules

## When to avoid
- you need an enforceable tool - use ESLint or formatters instead
- you work primarily in TypeScript or another language
- you need a strict, universally agreed-upon style guide rather than opinionated guidelines

## Facets
- artifact type: learning-resource
- maturity: stable
- function: developer-tools, documentation
- domain: developer-tools, tutorials, web-development
- platform: cross-platform
- tags: clean-code, best-practices, code-quality, javascript, software-craftsmanship, solid-principles, style-guide, nodejs

## Member repositories
- ryanmcdermott/clean-code-javascript (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:23.549510+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:12:38.399685+00:00, confidence not recorded.
  - readme: https://github.com/ryanmcdermott/clean-code-javascript (fetched 2026-08-28T04:12:23.549510+00:00, sha d464e7493433)
  - registry_npm: https://registry.npmjs.org/clean-code-javascript (fetched 2026-08-28T17:35:17.192059+00:00, sha 947b42b5519e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
