{"adoption": {"forks": 108, "observed_at": "2026-08-28T04:04:40.461214+00:00", "stars": 1419}, "canonical_url": "https://ross.abutalabs.com/products/chai-as-promised", "card": {"archived": false, "artifact_type": "plugin", "description": "Extends Chai with assertions about promises.", "domain": ["testing", "developer-tools"], "enriched": true, "function": ["testing", "e2e-testing"], "health_score": 94, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["chaijs/chai-as-promised"], "name": "chaijs/chai-as-promised", "platform": ["browser"], "pushed_at": "2026-08-24T08:39:48+00:00", "repo": "chaijs/chai-as-promised", "stars": 1419, "tags": ["chai", "chai-plugin", "assertions", "promises", "async", "promises-aplus", "nodejs", "javascript"], "topics": [], "urls": [], "use_cases": ["assert that a promise resolves to an expected value", "assert that a promise is rejected with a specific error", "convert any existing Chai assertion into a promise-aware assertion", "test async code without manually calling done() in then handlers", "write fluent promise assertions in Mocha or other test frameworks"], "what_it_is": "Chai as Promised is a Chai plugin that adds fluent assertions about promises, such as `.should.eventually.equal(...)` and `.should.be.rejectedWith(...)`. It lets developers write expressive asynchronous test assertions without manually wiring up promise handlers.", "when_to_avoid": ["you use a different assertion library like Jest expect or Vitest", "your tests are purely synchronous with no promises involved", "you need a full async testing framework rather than assertion extensions"], "when_to_choose": ["you use Chai and need to test promise-based asynchronous code", "you want readable, fluent assertions for promise fulfillment and rejection", "your test framework supports returning promises or notify(done) callbacks"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/chai-as-promised", "repo": "chaijs/chai-as-promised", "role": "main", "score": 69}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:40.461214+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:37:52.260818+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0bfed4631719dfe1fbcf7b692faab012a1907dfe08b5779165a24b8d17a21b58", "fetched_at": "2026-08-28T04:04:40.461214+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chaijs/chai-as-promised"}, {"content_hash": "415199e4316b9ab3d922d67dedb8ae37b49ceff3a283d5c6a2ce7697adcbe7a8", "fetched_at": "2026-08-29T11:50:28.081767+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/chai-as-promised"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:40.461214+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:37:52.260818+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0bfed4631719dfe1fbcf7b692faab012a1907dfe08b5779165a24b8d17a21b58", "fetched_at": "2026-08-28T04:04:40.461214+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chaijs/chai-as-promised"}, {"content_hash": "415199e4316b9ab3d922d67dedb8ae37b49ceff3a283d5c6a2ce7697adcbe7a8", "fetched_at": "2026-08-29T11:50:28.081767+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/chai-as-promised"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:37:52.260818+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0bfed4631719dfe1fbcf7b692faab012a1907dfe08b5779165a24b8d17a21b58", "fetched_at": "2026-08-28T04:04:40.461214+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chaijs/chai-as-promised"}, {"content_hash": "415199e4316b9ab3d922d67dedb8ae37b49ceff3a283d5c6a2ce7697adcbe7a8", "fetched_at": "2026-08-29T11:50:28.081767+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/chai-as-promised"}], "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:04:40.461214+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:40.461214+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:40.461214+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:37:52.260818+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0bfed4631719dfe1fbcf7b692faab012a1907dfe08b5779165a24b8d17a21b58", "fetched_at": "2026-08-28T04:04:40.461214+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chaijs/chai-as-promised"}, {"content_hash": "415199e4316b9ab3d922d67dedb8ae37b49ceff3a283d5c6a2ce7697adcbe7a8", "fetched_at": "2026-08-29T11:50:28.081767+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/chai-as-promised"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:40.461214+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:40.461214+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:37:52.260818+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0bfed4631719dfe1fbcf7b692faab012a1907dfe08b5779165a24b8d17a21b58", "fetched_at": "2026-08-28T04:04:40.461214+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chaijs/chai-as-promised"}, {"content_hash": "415199e4316b9ab3d922d67dedb8ae37b49ceff3a283d5c6a2ce7697adcbe7a8", "fetched_at": "2026-08-29T11:50:28.081767+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/chai-as-promised"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:40.461214+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:40.461214+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:40.461214+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:37:52.260818+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0bfed4631719dfe1fbcf7b692faab012a1907dfe08b5779165a24b8d17a21b58", "fetched_at": "2026-08-28T04:04:40.461214+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chaijs/chai-as-promised"}, {"content_hash": "415199e4316b9ab3d922d67dedb8ae37b49ceff3a283d5c6a2ce7697adcbe7a8", "fetched_at": "2026-08-29T11:50:28.081767+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/chai-as-promised"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:40.461214+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:40.461214+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:37:52.260818+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0bfed4631719dfe1fbcf7b692faab012a1907dfe08b5779165a24b8d17a21b58", "fetched_at": "2026-08-28T04:04:40.461214+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chaijs/chai-as-promised"}, {"content_hash": "415199e4316b9ab3d922d67dedb8ae37b49ceff3a283d5c6a2ce7697adcbe7a8", "fetched_at": "2026-08-29T11:50:28.081767+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/chai-as-promised"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:37:52.260818+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0bfed4631719dfe1fbcf7b692faab012a1907dfe08b5779165a24b8d17a21b58", "fetched_at": "2026-08-28T04:04:40.461214+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chaijs/chai-as-promised"}, {"content_hash": "415199e4316b9ab3d922d67dedb8ae37b49ceff3a283d5c6a2ce7697adcbe7a8", "fetched_at": "2026-08-29T11:50:28.081767+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/chai-as-promised"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:37:52.260818+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0bfed4631719dfe1fbcf7b692faab012a1907dfe08b5779165a24b8d17a21b58", "fetched_at": "2026-08-28T04:04:40.461214+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chaijs/chai-as-promised"}, {"content_hash": "415199e4316b9ab3d922d67dedb8ae37b49ceff3a283d5c6a2ce7697adcbe7a8", "fetched_at": "2026-08-29T11:50:28.081767+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/chai-as-promised"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:37:52.260818+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0bfed4631719dfe1fbcf7b692faab012a1907dfe08b5779165a24b8d17a21b58", "fetched_at": "2026-08-28T04:04:40.461214+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chaijs/chai-as-promised"}, {"content_hash": "415199e4316b9ab3d922d67dedb8ae37b49ceff3a283d5c6a2ce7697adcbe7a8", "fetched_at": "2026-08-29T11:50:28.081767+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/chai-as-promised"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 12}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5270, "days_push": 9, "days_rel": 376, "gap_med": 271, "n_releases_24m": 2}, "score": 69, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}