Ross ROSS = Recommend OSS · open-source software intelligence for agents

infinitered/nsfwjs

NSFW detection on the client-side via TensorFlow.js observed · 2026-08-28

github.com/infinitered/nsfwjs · homepage · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

86/100

  • Activity 96
  • Release rhythm 64
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 330.5
  • age_days: 2758
  • days_rel: 29
  • days_push: 29
  • n_releases_24m: 3

Full methodology

Adoption not part of the score

8965 stars · 599 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

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.

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

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

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

Facets

library · maturity active

machine-learning image-processing computer-vision machine-learning image-processing web-development privacy browser cross-platform nsfw-detection tensorflowjs content-moderation client-side-ml image-classification nodejs javascript

3 sources

Member repositories

RepositoryRoleHealth v2
infinitered/nsfwjsmain86

For agents

markdown · JSON · MCP: product_card(name="infinitered/nsfwjs")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem