huggingface / transformers.js-examples
Components

An overview of source code logical components.

Intro

Logical decomposition is a representation of the organization of the main source code, where every and each file is put in exactly one logical component.

Logical Decompositions Overview

Analyzed system has 1 logical decomposition:

Logical Decomposition #1: PRIMARY

The decompositions is based on the folder structure at level 1 (relative to the source code root).

Bubble Chart | Tree Map
Component Sizes (Lines of Code)
The "primary" logical decomposition has 54 components.
  • 442 files, 23,670 LOC (10.7% vs. main code).
  • "janus-pro-webgpu" is biggest, containing 4.78% of LOC.
  • "node-esm" is smallest, containing 0.02% of LOC.


janus-pro-webgpu1131 LOC (<1%) 19 files
janus-webgpu1130 LOC (<1%) 19 files
smolvlm-webgpu1013 LOC (<1%) 17 files
qwen3-webgpu969 LOC (<1%) 16 files
llama-3.2-reasoning-webgpu924 LOC (<1%) 15 files
zyphra-zr1-webgpu916 LOC (<1%) 15 files
deepseek-r1-webgpu916 LOC (<1%) 15 files
gemma-2-2b-jpn-webgpu880 LOC (<1%) 16 files
llama-3.2-webgpu879 LOC (<1%) 16 files
phi-3.5-webgpu865 LOC (<1%) 16 files
smollm-webgpu856 LOC (<1%) 16 files
tinyswallow-webgpu849 LOC (<1%) 14 files
conversational-webgpu813 LOC (<1%) 10 files
whisper-word-timestamps801 LOC (<1%) 11 files
moonshine-web763 LOC (<1%) 12 files
attention-visualization679 LOC (<1%) 7 files
realtime-whisper-webgpu652 LOC (<1%) 11 files
semantic-image-search-web554 LOC (<1%) 12 files
florence2-webgpu535 LOC (<1%) 9 files
webgpu-embedding-benchmark436 LOC (<1%) 4 files
the-tokenizer-playground420 LOC (<1%) 11 files
code-completion411 LOC (<1%) 8 files
speecht5-web403 LOC (<1%) 11 files
text-to-speech-webgpu386 LOC (<1%) 9 files
remove-background-webgpu373 LOC (<1%) 8 files
segment-anything-webgpu372 LOC (<1%) 3 files
musicgen-web366 LOC (<1%) 8 files
semantic-audio-search339 LOC (<1%) 5 files
video-object-detection280 LOC (<1%) 4 files
zero-shot-classification276 LOC (<1%) 7 files
webgpu-nomic-embed265 LOC (<1%) 4 files
webgpu-clip264 LOC (<1%) 4 files
adaptive-retrieval260 LOC (<1%) 8 files
pglite-semantic-search254 LOC (<1%) 9 files
depth-estimation-video247 LOC (<1%) 4 files
cross-encoder241 LOC (<1%) 7 files
depth-anything230 LOC (<1%) 4 files
sveltekit230 LOC (<1%) 11 files
video-background-removal226 LOC (<1%) 4 files
next-client226 LOC (<1%) 8 files
next-server224 LOC (<1%) 8 files
remove-background-web191 LOC (<1%) 4 files
omniparser-node136 LOC (<1%) 3 files
vanilla-js127 LOC (<1%) 3 files
browser-extension127 LOC (<1%) 6 files
sapiens-node86 LOC (<1%) 1 file
whisper-node45 LOC (<1%) 3 files
depth-pro-node32 LOC (<1%) 1 file
node-audio-processing29 LOC (<1%) 1 file
deno-embed13 LOC (<1%) 1 file
llama-3.2-node11 LOC (<1%) 1 file
bun8 LOC (<1%) 1 file
node-cjs7 LOC (<1%) 1 file
node-esm4 LOC (<1%) 1 file
Component Commits
Components ordered by number of commits
Total Commits per Component
All commits, some commits may include files from multiple components.
remove-background-webgpu9 commits (7%)
next-server8 commits (6%)
segment-anything-webgpu8 commits (6%)
pglite-semantic-search5 commits (4%)
smollm-webgpu5 commits (4%)
sveltekit4 commits (3%)
the-tokenizer-playground4 commits (3%)
text-to-speech-webgpu3 commits (2%)
video-object-detection3 commits (2%)
janus-pro-webgpu3 commits (2%)
video-background-removal3 commits (2%)
deepseek-r1-webgpu3 commits (2%)
bun3 commits (2%)
webgpu-embedding-benchmark2 commits (1%)
phi-3.5-webgpu2 commits (1%)
next-client2 commits (1%)
whisper-node2 commits (1%)
code-completion2 commits (1%)
depth-anything2 commits (1%)
sapiens-node2 commits (1%)
deno-embed2 commits (1%)
smolvlm-webgpu2 commits (1%)
remove-background-web2 commits (1%)
webgpu-clip2 commits (1%)
semantic-image-search-web2 commits (1%)
vanilla-js2 commits (1%)
browser-extension2 commits (1%)
depth-pro-node2 commits (1%)
depth-estimation-video2 commits (1%)
speecht5-web2 commits (1%)
semantic-audio-search2 commits (1%)
tinyswallow-webgpu2 commits (1%)
adaptive-retrieval2 commits (1%)
llama-3.2-webgpu2 commits (1%)
whisper-word-timestamps2 commits (1%)
llama-3.2-node2 commits (1%)
florence2-webgpu2 commits (1%)
webgpu-nomic-embed2 commits (1%)
node-audio-processing2 commits (1%)
cross-encoder2 commits (1%)
musicgen-web2 commits (1%)
zero-shot-classification2 commits (1%)
attention-visualization1 commits (<1%)
realtime-whisper-webgpu1 commits (<1%)
conversational-webgpu1 commits (<1%)
moonshine-web1 commits (<1%)
qwen3-webgpu1 commits (<1%)
zyphra-zr1-webgpu1 commits (<1%)
gemma-2-2b-jpn-webgpu1 commits (<1%)
janus-webgpu1 commits (<1%)
node-esm1 commits (<1%)
llama-3.2-reasoning-webgpu1 commits (<1%)
omniparser-node1 commits (<1%)
node-cjs1 commits (<1%)
Yearly File Updates Trend per Components
The number of file changes in commits
animated commit history: all time cumulative | 12 months window
2025 2024
janus-pro-webgpu
39
smollm-webgpu
1
35
smolvlm-webgpu
34
deepseek-r1-webgpu
31
sveltekit
29
pglite-semantic-search
27
text-to-speech-webgpu
16
9
semantic-image-search-web
24
remove-background-webgpu
24
next-server
2
21
speecht5-web
22
whisper-word-timestamps
22
janus-webgpu
19
florence2-webgpu
18
phi-3.5-webgpu
17
llama-3.2-webgpu
17
the-tokenizer-playground
6
11
code-completion
16
qwen3-webgpu
16
gemma-2-2b-jpn-webgpu
16
tinyswallow-webgpu
16
adaptive-retrieval
16
musicgen-web
16
zyphra-zr1-webgpu
15
llama-3.2-reasoning-webgpu
15
cross-encoder
14
zero-shot-classification
14
moonshine-web
12
realtime-whisper-webgpu
11
conversational-webgpu
10
segment-anything-webgpu
3
7
semantic-audio-search
10
next-client
9
video-background-removal
9
webgpu-embedding-benchmark
8
depth-anything
8
remove-background-web
8
webgpu-clip
8
depth-estimation-video
8
video-object-detection
4
4
webgpu-nomic-embed
8
attention-visualization
7
browser-extension
1
6
vanilla-js
6
whisper-node
4
bun
3
omniparser-node
3
sapiens-node
2
deno-embed
2
depth-pro-node
2
llama-3.2-node
2
node-audio-processing
2
node-esm
1
node-cjs
1


Dependencies between components in same commits (past 180 days)
The number on the lines shows the number of shared commits.
See detailed temporal dependencies report...

G video-background-removal video-background-removal segment-anything-webgpu segment-anything-webgpu video-background-removal--segment-anything-webgpu 3 florence2-webgpu florence2-webgpu video-background-removal--florence2-webgpu 2 adaptive-retrieval adaptive-retrieval video-background-removal--adaptive-retrieval 2 the-tokenizer-playground the-tokenizer-playground the-tokenizer-playground--the-tokenizer-playground 3 speecht5-web speecht5-web speecht5-web--florence2-webgpu 2 semantic-image-search-web semantic-image-search-web speecht5-web--semantic-image-search-web 2 florence2-webgpu--florence2-webgpu 2 florence2-webgpu--adaptive-retrieval 2 cross-encoder cross-encoder florence2-webgpu--cross-encoder 2 code-completion code-completion code-completion--adaptive-retrieval 2 webgpu-nomic-embed webgpu-nomic-embed webgpu-nomic-embed--speecht5-web 2 webgpu-nomic-embed--webgpu-nomic-embed 2 webgpu-embedding-benchmark webgpu-embedding-benchmark webgpu-nomic-embed--webgpu-embedding-benchmark 2 semantic-image-search-web--florence2-webgpu 2 semantic-image-search-web--code-completion 2 semantic-image-search-web--adaptive-retrieval 2 semantic-image-search-web--semantic-image-search-web 2 musicgen-web musicgen-web semantic-image-search-web--musicgen-web 2 semantic-image-search-web--cross-encoder 2 webgpu-embedding-benchmark--florence2-webgpu 2 webgpu-embedding-benchmark--code-completion 2 webgpu-embedding-benchmark--adaptive-retrieval 2 webgpu-embedding-benchmark--musicgen-web 2 musicgen-web--florence2-webgpu 2 video-object-detection video-object-detection video-object-detection--florence2-webgpu 2 zero-shot-classification zero-shot-classification zero-shot-classification--video-background-removal 2 zero-shot-classification--segment-anything-webgpu 2 zero-shot-classification--speecht5-web 2 zero-shot-classification--adaptive-retrieval 2 zero-shot-classification--semantic-image-search-web 2 whisper-word-timestamps whisper-word-timestamps zero-shot-classification--whisper-word-timestamps 2 smolvlm-webgpu smolvlm-webgpu smolvlm-webgpu--smolvlm-webgpu 2 whisper-word-timestamps--code-completion 2 whisper-word-timestamps--adaptive-retrieval 2 whisper-word-timestamps--cross-encoder 2 whisper-word-timestamps--whisper-word-timestamps 2 semantic-audio-search semantic-audio-search whisper-word-timestamps--semantic-audio-search 2 vanilla-js vanilla-js vanilla-js--cross-encoder 2 depth-anything depth-anything vanilla-js--depth-anything 2 remove-background-web remove-background-web vanilla-js--remove-background-web 2 semantic-audio-search--code-completion 2 semantic-audio-search--semantic-audio-search 2 semantic-audio-search--remove-background-web 2 webgpu-clip webgpu-clip webgpu-clip--semantic-image-search-web 2 webgpu-clip--remove-background-web 2 remove-background-web--musicgen-web 2 depth-estimation-video depth-estimation-video remove-background-web--depth-estimation-video 2 deepseek-r1-webgpu deepseek-r1-webgpu deepseek-r1-webgpu--deepseek-r1-webgpu 2 janus-pro-webgpu janus-pro-webgpu janus-pro-webgpu--janus-pro-webgpu 2 node-audio-processing node-audio-processing node-audio-processing--adaptive-retrieval 2


2025-06-30 09:09