Home / Technologies / Barba.js vs DOMPurify
Barba.js vs DOMPurify: who uses which
DOMPurify is on more sites: 421,276 against 6,852 for Barba.js, about 61.5 times as many. Here's how they compare across the websites we've indexed, and where each one does best.
Where each one is used
| Domain | Barba.js | DOMPurify |
|---|---|---|
| .com on .com | 3,448 | 177,784 |
| .de in Germany | 287 | 31,391 |
| .org on .org | 145 | 17,331 |
| .jp in Japan | 240 | 13,388 |
| .fr in France | 218 | 13,168 |
| .uk in the UK | 123 | 11,115 |
| .au in Australia | 82 | 9,282 |
| .pl in Poland | 71 | 9,257 |
50 sites run both at once.
Questions
Which is more popular, Barba.js or DOMPurify?
DOMPurify is on more sites: 421,276 against 6,852 for Barba.js, about 61.5 times as many, across the sites StackGrep has indexed.
Do sites use Barba.js and DOMPurify together?
50 sites load both. That's often a switch in progress, or two teams picking different tools.
Want the whole list?
Sign up to download every site using Barba.js or DOMPurify as a spreadsheet and see new ones as they appear. 200 free credits to start. No card needed.