{"adoption": {"forks": 599, "observed_at": "2026-08-28T04:10:26.540524+00:00", "stars": 8965}, "canonical_url": "https://ross.abutalabs.com/products/nsfwjs", "card": {"archived": false, "artifact_type": "library", "description": "NSFW detection on the client-side via TensorFlow.js", "domain": ["machine-learning", "image-processing", "web-development", "privacy"], "enriched": true, "function": ["machine-learning", "image-processing", "computer-vision"], "health_score": 98, "homepage": "https://nsfwjs.com/", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["infinitered/nsfwjs"], "name": "infinitered/nsfwjs", "platform": ["browser", "cross-platform"], "pushed_at": "2026-08-04T15:28:33+00:00", "repo": "infinitered/nsfwjs", "stars": 8965, "tags": ["nsfw-detection", "tensorflowjs", "content-moderation", "client-side-ml", "image-classification", "nodejs", "javascript"], "topics": ["machine-learning", "machinelearning", "javascript", "tensorflowjs", "tensorflow-js", "node-module", "content-management", "nsfw-recognition"], "urls": [], "use_cases": ["detect nsfw images in the browser before upload", "filter inappropriate user-generated content client-side", "classify images as safe or explicit in javascript", "moderate image content in a react native app", "block adult content in a browser extension", "check image safety without sending data to a server"], "what_it_is": "NSFWJS is a JavaScript library that uses TensorFlow.js to classify images into NSFW/safety categories (Drawing, Neutral, Sexy, Hentai, Porn) entirely client-side. It works in the browser, Node.js, and React Native with ~90-93% accuracy.", "when_to_avoid": ["you need server-side, GPU-accelerated high-throughput moderation at scale", "you require legally guaranteed accuracy or fine-grained policy enforcement", "you need video or text moderation, not just images"], "when_to_choose": ["you need privacy-preserving, client-side image moderation with no server round-trip", "you want a simple npm drop-in with TensorFlow.js and pre-trained models", "you need cross-browser, Node, or React Native support"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/nsfwjs", "repo": "infinitered/nsfwjs", "role": "main", "score": 86}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.540524+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:24:26.858029+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9962565edc478673c16be1c65029e60a2fe67b0b6677752f836bc954b65fdf81", "fetched_at": "2026-08-28T04:10:26.540524+00:00", "kind": "readme", "missing": false, "url": "https://github.com/infinitered/nsfwjs"}, {"content_hash": "2bda339326372dc76d581c5282637c6d7ab86ad2eb1b4ea7cf893db251eec86f", "fetched_at": "2026-08-29T08:24:55.816777+00:00", "kind": "homepage", "missing": false, "url": "https://nsfwjs.com/"}, {"content_hash": "fe2333fe4e7e1801334fb25d5bebec280ad9c3f2b7252f5620c4aff41aea833e", "fetched_at": "2026-08-29T08:24:55.819400+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nsfwjs"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.540524+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:24:26.858029+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9962565edc478673c16be1c65029e60a2fe67b0b6677752f836bc954b65fdf81", "fetched_at": "2026-08-28T04:10:26.540524+00:00", "kind": "readme", "missing": false, "url": "https://github.com/infinitered/nsfwjs"}, {"content_hash": "2bda339326372dc76d581c5282637c6d7ab86ad2eb1b4ea7cf893db251eec86f", "fetched_at": "2026-08-29T08:24:55.816777+00:00", "kind": "homepage", "missing": false, "url": "https://nsfwjs.com/"}, {"content_hash": "fe2333fe4e7e1801334fb25d5bebec280ad9c3f2b7252f5620c4aff41aea833e", "fetched_at": "2026-08-29T08:24:55.819400+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nsfwjs"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:24:26.858029+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9962565edc478673c16be1c65029e60a2fe67b0b6677752f836bc954b65fdf81", "fetched_at": "2026-08-28T04:10:26.540524+00:00", "kind": "readme", "missing": false, "url": "https://github.com/infinitered/nsfwjs"}, {"content_hash": "2bda339326372dc76d581c5282637c6d7ab86ad2eb1b4ea7cf893db251eec86f", "fetched_at": "2026-08-29T08:24:55.816777+00:00", "kind": "homepage", "missing": false, "url": "https://nsfwjs.com/"}, {"content_hash": "fe2333fe4e7e1801334fb25d5bebec280ad9c3f2b7252f5620c4aff41aea833e", "fetched_at": "2026-08-29T08:24:55.819400+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nsfwjs"}], "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:10:26.540524+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.540524+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.540524+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:24:26.858029+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9962565edc478673c16be1c65029e60a2fe67b0b6677752f836bc954b65fdf81", "fetched_at": "2026-08-28T04:10:26.540524+00:00", "kind": "readme", "missing": false, "url": "https://github.com/infinitered/nsfwjs"}, {"content_hash": "2bda339326372dc76d581c5282637c6d7ab86ad2eb1b4ea7cf893db251eec86f", "fetched_at": "2026-08-29T08:24:55.816777+00:00", "kind": "homepage", "missing": false, "url": "https://nsfwjs.com/"}, {"content_hash": "fe2333fe4e7e1801334fb25d5bebec280ad9c3f2b7252f5620c4aff41aea833e", "fetched_at": "2026-08-29T08:24:55.819400+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nsfwjs"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.540524+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.540524+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:24:26.858029+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9962565edc478673c16be1c65029e60a2fe67b0b6677752f836bc954b65fdf81", "fetched_at": "2026-08-28T04:10:26.540524+00:00", "kind": "readme", "missing": false, "url": "https://github.com/infinitered/nsfwjs"}, {"content_hash": "2bda339326372dc76d581c5282637c6d7ab86ad2eb1b4ea7cf893db251eec86f", "fetched_at": "2026-08-29T08:24:55.816777+00:00", "kind": "homepage", "missing": false, "url": "https://nsfwjs.com/"}, {"content_hash": "fe2333fe4e7e1801334fb25d5bebec280ad9c3f2b7252f5620c4aff41aea833e", "fetched_at": "2026-08-29T08:24:55.819400+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nsfwjs"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.540524+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.540524+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.540524+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:24:26.858029+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9962565edc478673c16be1c65029e60a2fe67b0b6677752f836bc954b65fdf81", "fetched_at": "2026-08-28T04:10:26.540524+00:00", "kind": "readme", "missing": false, "url": "https://github.com/infinitered/nsfwjs"}, {"content_hash": "2bda339326372dc76d581c5282637c6d7ab86ad2eb1b4ea7cf893db251eec86f", "fetched_at": "2026-08-29T08:24:55.816777+00:00", "kind": "homepage", "missing": false, "url": "https://nsfwjs.com/"}, {"content_hash": "fe2333fe4e7e1801334fb25d5bebec280ad9c3f2b7252f5620c4aff41aea833e", "fetched_at": "2026-08-29T08:24:55.819400+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nsfwjs"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.540524+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.540524+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:24:26.858029+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9962565edc478673c16be1c65029e60a2fe67b0b6677752f836bc954b65fdf81", "fetched_at": "2026-08-28T04:10:26.540524+00:00", "kind": "readme", "missing": false, "url": "https://github.com/infinitered/nsfwjs"}, {"content_hash": "2bda339326372dc76d581c5282637c6d7ab86ad2eb1b4ea7cf893db251eec86f", "fetched_at": "2026-08-29T08:24:55.816777+00:00", "kind": "homepage", "missing": false, "url": "https://nsfwjs.com/"}, {"content_hash": "fe2333fe4e7e1801334fb25d5bebec280ad9c3f2b7252f5620c4aff41aea833e", "fetched_at": "2026-08-29T08:24:55.819400+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nsfwjs"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:24:26.858029+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9962565edc478673c16be1c65029e60a2fe67b0b6677752f836bc954b65fdf81", "fetched_at": "2026-08-28T04:10:26.540524+00:00", "kind": "readme", "missing": false, "url": "https://github.com/infinitered/nsfwjs"}, {"content_hash": "2bda339326372dc76d581c5282637c6d7ab86ad2eb1b4ea7cf893db251eec86f", "fetched_at": "2026-08-29T08:24:55.816777+00:00", "kind": "homepage", "missing": false, "url": "https://nsfwjs.com/"}, {"content_hash": "fe2333fe4e7e1801334fb25d5bebec280ad9c3f2b7252f5620c4aff41aea833e", "fetched_at": "2026-08-29T08:24:55.819400+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nsfwjs"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:24:26.858029+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9962565edc478673c16be1c65029e60a2fe67b0b6677752f836bc954b65fdf81", "fetched_at": "2026-08-28T04:10:26.540524+00:00", "kind": "readme", "missing": false, "url": "https://github.com/infinitered/nsfwjs"}, {"content_hash": "2bda339326372dc76d581c5282637c6d7ab86ad2eb1b4ea7cf893db251eec86f", "fetched_at": "2026-08-29T08:24:55.816777+00:00", "kind": "homepage", "missing": false, "url": "https://nsfwjs.com/"}, {"content_hash": "fe2333fe4e7e1801334fb25d5bebec280ad9c3f2b7252f5620c4aff41aea833e", "fetched_at": "2026-08-29T08:24:55.819400+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nsfwjs"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:24:26.858029+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9962565edc478673c16be1c65029e60a2fe67b0b6677752f836bc954b65fdf81", "fetched_at": "2026-08-28T04:10:26.540524+00:00", "kind": "readme", "missing": false, "url": "https://github.com/infinitered/nsfwjs"}, {"content_hash": "2bda339326372dc76d581c5282637c6d7ab86ad2eb1b4ea7cf893db251eec86f", "fetched_at": "2026-08-29T08:24:55.816777+00:00", "kind": "homepage", "missing": false, "url": "https://nsfwjs.com/"}, {"content_hash": "fe2333fe4e7e1801334fb25d5bebec280ad9c3f2b7252f5620c4aff41aea833e", "fetched_at": "2026-08-29T08:24:55.819400+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nsfwjs"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 96, "longevity": 100, "rhythm": 64}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2758, "days_push": 29, "days_rel": 29, "gap_med": 330.5, "n_releases_24m": 3}, "score": 86, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}