Rollbar.js
Reasonable, with limits. 7th of 8 error tracking and monitoring SDKs.
Rollbar.js is the MIT-licensed SDK for Rollbar's hosted error tracker. It is a solid, actively maintained way to catch exceptions and link them to deploys. It has no real performance monitoring, and its use is growing more slowly than its peers', so for most new projects Sentry is the better default.
Best for: Teams that already pay for Rollbar, or that want cheap error tracking tied to deploys and run APM and logging elsewhere.
Scores
Overall5.6
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
It is a well-maintained SDK that does error tracking and deploy linkage well. Sentry does the same job with tracing, performance monitoring and better framework support, and it is gaining share while Rollbar's is falling. Choose it when you already use Rollbar or want cheap errors-only tracking. Otherwise start with Sentry.
- betterstack.com/community/comparisons/sentry-vs-rollbar: Sentry was the only one of the two to catch the slow release
- peers Sentry SDK downloads: Sentry grew 5.5x in a year; Rollbar grew 1.7x
- github.com/rollbar/rollbar.js/releases: Active releases through November 2026
GPT-6.2 Sol: 6.2, likely 5.2 to 7.3
Rollbar.js is a reasonable choice for a new app that mainly needs exception reporting, replay and deploy-linked debugging. Sentry is the stronger default when one SDK needs to cover errors and application performance. Recent maintenance supports continued use, while weaker relative adoption and the hosted service dependency make the long-term choice less certain.
- betterstack.com/community/comparisons/sentry-vs-rollbar: Both captured the seeded errors, and Sentry also traced the slow request.
- github.com/rollbar/rollbar.js/releases: Current releases include runtime, TypeScript and dependency maintenance.
- dependents, peers and medianDownloadsRatio: Rollbar trails the leading peers in sampled adoption and the catalog median in growth.
Needed by many6.3
How many developers need a tool for this job?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
Most production web apps and Node services need error reporting, and this SDK covers both browser and server. Its value depends on using Rollbar's paid hosted service. It also covers errors only, not the full traces and metrics job, which narrows its take on the category.
- category.job: The category job includes traces and metrics, and Rollbar mainly covers errors
- betterstack.com/community/comparisons/sentry-vs-rollbar: Found no tracing, performance or log product
- project.note: SDK of a service that is not open source
GPT-6.2 Sol: 6.5, likely 5.4 to 7.6
Production error reporting is relevant to a large share of browser and Node.js teams. Rollbar.js supports both environments and several major web frameworks. Its focus on hosted exception tracking narrows the audience, and framework surveys show platform use only as a proxy for monitoring demand.
- survey.stackoverflow.co/2026/technology/data: Node.js and React lead the survey’s web technology responses.
- docs.rollbar.com/docs/javascript: Documents browser and Node.js support across several web frameworks.
- project note: The SDK sends errors to a proprietary service.
Helps a lot6.4
How well does it do the job for those who need it?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
In a hands-on test it captured every seeded error, and its deploy linkage, replay and debugging aids are good. It could not see a slowdown, its grouping split one bug into several items, and its process-wide telemetry mixed requests. Sentry does more of the job, with better framework integrations. Several issues about config options and scrubbing have stayed open for years.
- betterstack.com/community/comparisons/sentry-vs-rollbar: All 11 errors caught; no slowdown detection; weaker grouping; process-wide telemetry
- github.com/rollbar/rollbar.js/issues: Long-open issues on scrubFields, checkIgnore and TS imports
- github.com/rollbar/rollbar.js/releases: 3.x added tracing, replay and cause-chain backtraces; 4.x fixed types
- npm hasTypes: Ships its own types
GPT-6.2 Sol: 6.7, likely 5.6 to 7.7
Stable v4.2.1 ships TypeScript declarations, source-map support and optional browser replay. A hands-on test with v4.1.0 captured all 11 seeded errors and identified the likely bad deploy, but Sentry traced the slowdown and produced fewer duplicate groups. Node.js breadcrumbs share a process-wide history, and the comparison covers one Express and Vite app.
- github.com/rollbar/rollbar.js/blob/v4.2.1/package.json: The current package exposes typed standard and replay entry points.
- docs.rollbar.com/docs/source-maps: Documents readable stack traces and source-map upload.
- betterstack.com/community/comparisons/sentry-vs-rollbar: First-hand comparison of error capture, grouping, deploys and tracing.
- docs.rollbar.com/docs/nodejs: Concurrent activity can interleave in the shared telemetry history.
Holds up over time6.6
Will it still be a good choice in two years?
Claude Opus 5.5: 6.5, likely 5.0 to 7.5
A commercial vendor pays for the work. The repository saw 157 commits and 6 releases in the last year, the latest on 2026-11-13. There were breaking changes, but they were small and announced: the replay config rename, the separate replay import and dropping Node 18. The SDK's future depends on Rollbar the company, whose market share is lower than Sentry's and Datadog's.
- github commitsLastYear: 157 commits, steady but far below Sentry's 4647
- github releasesLastYear: 6 releases, latest v4.2.1 on 2026-11-13
- github.com/rollbar/rollbar.js/releases: Breaking changes are documented: replay import, Node 18 dropped
- scorecard Maintained: Scores 10
GPT-6.2 Sol: 6.7, likely 5.5 to 7.8
Rollbar maintains the SDK for its commercial service and shipped six releases from 157 commits in the past year. Version 4 dropped support for the end-of-life Node.js 18 line. Some integration reports have stayed open for over a year, and the two-year outlook depends on continued investment in the hosted service.
- github commitsLastYear and releasesLastYear: 157 commits and six releases over the past year.
- github.com/rollbar/rollbar.js/releases: Shows recent tagged releases and multiple GitHub release accounts over time.
- github.com/rollbar/rollbar.js/releases/tag/v4.0.0: Documents the Node.js 18 support change and fixes for type checking and replay.
- github.com/rollbar/rollbar.js/issues: Cloudflare and Vue TypeScript integration reports remain open.
Used widely4.0
How many use it, and is that growing?
Claude Opus 5.5: 4.5, likely 3.5 to 5.5
It has 2.7M downloads per 4 weeks and 1,645 dependent repos, below Bugsnag (6,901) and New Relic (4,662) and far below Sentry (64,295). Its download ratio is 1.73 against a median of 4.1 and Sentry's 5.5, so it is losing ground. Social attention is close to zero: no Bluesky posts, and only two small Hacker News stories, both about the Rollbar service.
- npm downloadsLast4Weeks: 2,714,765, against 1,572,382 a year ago (ratio 1.73)
- medianDownloadsRatio: The median is 4.1, so Rollbar is losing share
- dependents.repos: 1,645 repos, far below Sentry and Bugsnag
- bluesky posts: 0 posts
GPT-6.2 Sol: 3.5, likely 2.4 to 4.7
Ecosyste.ms found 1,645 dependent repositories and 295 dependent packages, well below Sentry and BugSnag in the same sample. Four-week npm downloads rose from 1.57 million to 2.71 million, but the 1.73× ratio trails the 4.1× catalog median and signals a loss of relative ground. The repository has 588 stars and little recent social attention. Automated installs, CDN use and incomplete repository coverage make the number of direct choices uncertain.
- dependents and peers dependentRepos: Rollbar has 1,645 sampled repositories, BugSnag 6,901 and Sentry 64,295.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo and medianDownloadsRatio: Downloads are up about 73% year over year, below the catalog baseline.
- github stars, bluesky posts and hackerNews top: 588 stars, zero matched Bluesky links and two low-engagement Rollbar stories.
- docs.rollbar.com/docs/javascript: The browser snippet provides an installation path outside npm.
Vouched for5.4
Who stands behind it being good?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
It is a long-running commercial product with a 4.5/5 rating on G2, and a 2026 independent hands-on comparison credits its deploy tracking. The same review and other comparisons pick Sentry for most other needs. No developer survey or framework builds on it, and most comparisons come from competing vendors.
- betterstack.com/community/comparisons/sentry-vs-rollbar: Independent test: best at deploy linkage, behind Sentry on other needs
- g2.com/compare/rollbar-vs-sentry: Both rated 4.5, Sentry with more reviews
- posthog.com/compare/best-rollbar-alternatives: Describes Rollbar as proprietary and cloud-only, Sentry as broader
GPT-6.2 Sol: 5.7, likely 4.4 to 7.0
DatoCMS reports running Rollbar in its dashboard, and Vercel lists a marketplace integration for the SDK. Better Stack’s hands-on test supports error capture and deploy attribution, with limitations in grouping and tracing. Current retention data and broad independent production comparisons are scarce.
- github.com/dequelabs/axe-core/issues/4975: DatoCMS confirms production use and reports a Firefox extension conflict.
- vercel.com/marketplace/rollbar/error-tracking: Vercel lists Rollbar and provides setup steps using the JavaScript SDK.
- betterstack.com/community/comparisons/sentry-vs-rollbar: A third-party vendor’s Express and Vite test confirms capture and deploy attribution.
Safe6.9
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
It is MIT-licensed and pulls in 7 dependencies. Two prototype-pollution advisories from October 2025 were fixed within days on both the 2.x and 3.x lines, and both need untrusted input passed to configure(). The 4.0 release also fixed a ReDoS risk. The Scorecard is 6.8, with weak Token-Permissions, Pinned-Dependencies and Fuzzing checks.
- advisories: 2 advisories in 24 months, moderate and low severity
- osv.dev/vulnerability/GHSA-xcg2-9pp4-j82x: Fixed in 2.26.5 and 3.0.0-beta.5; needs untrusted configure() input
- scorecard score: 6.8; Token-Permissions 0, Pinned-Dependencies 2
- npm dependencies: 7 direct dependencies
GPT-6.2 Sol: 6.7, likely 5.5 to 7.8
The SDK has a permissive MIT license and seven direct dependencies. Rollbar shipped fixes for both 2025 prototype pollution advisories in the stable and beta lines by the week of disclosure, and v4.2.1 updated dependencies in response to alerts. OpenSSF scored code review highly and flagged weak workflow token permissions and dependency pinning. The latest GitHub release points to a verified commit, while npm provenance and the number of authorized npm publishers remain unverified.
- npm license and dependencies: MIT license and seven direct dependencies.
- github.com/advisories/GHSA-xcg2-9pp4-j82x: The moderate advisory lists fixes in 2.26.5 and 3.0.0-beta.5.
- github.com/advisories/GHSA-r8c2-2qwq-94p6: The low-severity advisory lists the same patched versions.
- github.com/rollbar/rollbar.js/releases/tag/v2.26.5: The October 17 patch release documents the prototype pollution fix.
- github.com/rollbar/rollbar.js/releases/tag/v4.2.1: Verified GitHub commit and dependency updates responding to alerts.
- scorecard score and checks: 6.8 overall, with code review at 10, token permissions at 0 and pinning at 2.
Good
- Strong release tracking: it flags the suspected deploy for each error and can auto-resolve items on a deploy.
- One package covers browser and Node, ships TypeScript types, and pulls in only 7 dependencies.
- Session replay and basic tracing arrived in 3.x, and the free plan includes 1,000 replays a month.
- Released often in 2026: 3.0, 3.1 and 4.0 to 4.2.1 came with bug and type fixes.
Bad
- It has no performance monitoring, profiling, web vitals or log storage, so slow releases go unseen.
- Server telemetry and configure() user context apply to the whole process, so data from parallel requests can mix.
- Many old open issues on scrubbing, config options and TypeScript imports stay unresolved for years.
- Downloads grow much more slowly than the category median and Sentry, so it is losing share.
The numbers
- npm downloads, 4 weeks
- 2.7M +73% in a year
- GitHub stars
- 588
- Commits, 12 months
- 157
- npm version
- 4.2.1 Nov 2026
- Versions, 12 months
- 6
- Advisories, 24 months
- 2 of 2 ever
- OpenSSF Scorecard
- 6.8 out of 10, Nov 2026
- Licence
- MIT
The SDK of an error service that is not open source.
Read on 21 November 2026 from GitHub (rollbar/rollbar.js), npm (rollbar), OSV and the OpenSSF Scorecard.
Error tracking and monitoring SDKs
- 8.7Sentry SDK
- 8.2OpenTelemetry JS
- 7.5Datadog tracer
- 6.4New Relic agent
- 6.3Bugsnag SDK
- 5.6Honeybadger SDK
- 5.6Rollbar.js
- 4.8Elastic APM agent