{"adoption": {"forks": 89, "observed_at": "2026-08-28T04:05:01.265407+00:00", "stars": 1543}, "canonical_url": "https://ross.abutalabs.com/products/module-best-practices", "card": {"archived": false, "artifact_type": "learning-resource", "description": ":books: some best practices for JS modules", "domain": ["developer-tools", "programming-languages", "tutorials", "web-development"], "enriched": true, "function": ["documentation", "developer-tools"], "health_score": 20, "homepage": null, "language": "JavaScript", "license": null, "license_family": "other", "maturity": "abandoned", "member_repos": ["mattdesl/module-best-practices"], "name": "mattdesl/module-best-practices", "platform": [], "pushed_at": "2018-03-30T15:58:34+00:00", "repo": "mattdesl/module-best-practices", "stars": 1543, "tags": ["npm-modules", "best-practices", "guide", "commonjs", "module-design", "nodejs", "javascript"], "topics": [], "urls": [], "use_cases": ["how to structure a new npm module", "naming conventions for javascript packages", "best practices for writing small focused node modules", "how to design a module api", "npm package publishing checklist", "when to prefer dependencies over writing utilities"], "what_it_is": "A written guide of best practices for authoring small, focused JavaScript modules for npm (CommonJS, front- and back-end). It covers naming conventions, API design, testing, versioning, and packaging conventions.", "when_to_avoid": ["you need up-to-date guidance covering ESM, modern tooling, or TypeScript", "you need an executable tool or linter rather than prose advice", "you need framework-specific best practices"], "when_to_choose": ["you are publishing a new npm package and want conventions for naming, API design, and packaging", "you are transitioning from large frameworks to small composable modules", "you want a concise style guide for CommonJS module authorship"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/module-best-practices", "repo": "mattdesl/module-best-practices", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:01.265407+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:30:41.884873+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a5f27b6445da4f716899c92d90ab8b4bec35d04ae81c7f5d47df34fa899f3ee3", "fetched_at": "2026-08-28T04:05:01.265407+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mattdesl/module-best-practices"}, {"content_hash": "fb41e626c50b8e547212169b42715c2a9848c5c15d2e042530e5d2906bb859f1", "fetched_at": "2026-08-29T11:32:06.080130+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/module-best-practices"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:01.265407+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:30:41.884873+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a5f27b6445da4f716899c92d90ab8b4bec35d04ae81c7f5d47df34fa899f3ee3", "fetched_at": "2026-08-28T04:05:01.265407+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mattdesl/module-best-practices"}, {"content_hash": "fb41e626c50b8e547212169b42715c2a9848c5c15d2e042530e5d2906bb859f1", "fetched_at": "2026-08-29T11:32:06.080130+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/module-best-practices"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:30:41.884873+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a5f27b6445da4f716899c92d90ab8b4bec35d04ae81c7f5d47df34fa899f3ee3", "fetched_at": "2026-08-28T04:05:01.265407+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mattdesl/module-best-practices"}, {"content_hash": "fb41e626c50b8e547212169b42715c2a9848c5c15d2e042530e5d2906bb859f1", "fetched_at": "2026-08-29T11:32:06.080130+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/module-best-practices"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:01.265407+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:01.265407+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:01.265407+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:30:41.884873+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a5f27b6445da4f716899c92d90ab8b4bec35d04ae81c7f5d47df34fa899f3ee3", "fetched_at": "2026-08-28T04:05:01.265407+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mattdesl/module-best-practices"}, {"content_hash": "fb41e626c50b8e547212169b42715c2a9848c5c15d2e042530e5d2906bb859f1", "fetched_at": "2026-08-29T11:32:06.080130+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/module-best-practices"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:01.265407+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:01.265407+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:30:41.884873+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a5f27b6445da4f716899c92d90ab8b4bec35d04ae81c7f5d47df34fa899f3ee3", "fetched_at": "2026-08-28T04:05:01.265407+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mattdesl/module-best-practices"}, {"content_hash": "fb41e626c50b8e547212169b42715c2a9848c5c15d2e042530e5d2906bb859f1", "fetched_at": "2026-08-29T11:32:06.080130+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/module-best-practices"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:01.265407+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:01.265407+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:01.265407+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:30:41.884873+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a5f27b6445da4f716899c92d90ab8b4bec35d04ae81c7f5d47df34fa899f3ee3", "fetched_at": "2026-08-28T04:05:01.265407+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mattdesl/module-best-practices"}, {"content_hash": "fb41e626c50b8e547212169b42715c2a9848c5c15d2e042530e5d2906bb859f1", "fetched_at": "2026-08-29T11:32:06.080130+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/module-best-practices"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:01.265407+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:01.265407+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:30:41.884873+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a5f27b6445da4f716899c92d90ab8b4bec35d04ae81c7f5d47df34fa899f3ee3", "fetched_at": "2026-08-28T04:05:01.265407+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mattdesl/module-best-practices"}, {"content_hash": "fb41e626c50b8e547212169b42715c2a9848c5c15d2e042530e5d2906bb859f1", "fetched_at": "2026-08-29T11:32:06.080130+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/module-best-practices"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:30:41.884873+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a5f27b6445da4f716899c92d90ab8b4bec35d04ae81c7f5d47df34fa899f3ee3", "fetched_at": "2026-08-28T04:05:01.265407+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mattdesl/module-best-practices"}, {"content_hash": "fb41e626c50b8e547212169b42715c2a9848c5c15d2e042530e5d2906bb859f1", "fetched_at": "2026-08-29T11:32:06.080130+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/module-best-practices"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:30:41.884873+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a5f27b6445da4f716899c92d90ab8b4bec35d04ae81c7f5d47df34fa899f3ee3", "fetched_at": "2026-08-28T04:05:01.265407+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mattdesl/module-best-practices"}, {"content_hash": "fb41e626c50b8e547212169b42715c2a9848c5c15d2e042530e5d2906bb859f1", "fetched_at": "2026-08-29T11:32:06.080130+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/module-best-practices"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:30:41.884873+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a5f27b6445da4f716899c92d90ab8b4bec35d04ae81c7f5d47df34fa899f3ee3", "fetched_at": "2026-08-28T04:05:01.265407+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mattdesl/module-best-practices"}, {"content_hash": "fb41e626c50b8e547212169b42715c2a9848c5c15d2e042530e5d2906bb859f1", "fetched_at": "2026-08-29T11:32:06.080130+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/module-best-practices"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases", "no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4340, "days_push": 3078, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}