Skip to content
JS
Package

detectrtc

A tiny JavaScript library that can be used to detect WebRTC features e.g. system having speakers, microphone or webcam, screen capturing is supported, number of audio/video devices etc.

v1.4.1MITCommonJSTypes: BundledVideo and audioWebSockets and realtime
$ npm install detectrtc

Key numbers

As of 25 Sept 2026
Weekly downloads
33.9k
-37% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
-
v1.4.1
GitHub stars
673
156 forks
Open issues / PRs
33 / 2
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
025k50k75k100kSept 2025Mar 2026Sept 2026High 96.4k (24 Mar 2026)Low 20.4k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

33,868 downloads last week, 171,613 in the last month. The 12-month change of -37% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.4.1
First published
-
Last push to GitHub
18 Feb 20231,314 days before the snapshot
Repository archived
No
Open issues
33
Open pull requests
2
Commits, last 52 weeks
0
Dependents on npm
-

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
106 kB
Dependencies (0)
None
npm install detectrtc

CDN

jsDelivr: 271.5k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/detectrtc@1.4.1/
  • unpkghttps://unpkg.com/detectrtc@1.4.1/
  • esm.shhttps://esm.sh/detectrtc@1.4.1
PackageWeekly downloadsGzipLast releaseModuleComparison
semantic-sdp8.5k-2 years agoCommonJS-
@100mslive/hms-video-store23.8k-2 days agoESM + CommonJS-
@telnyx/webrtc169.5k-1 month agoESM + CommonJS-
trtc-sdk-v58.9k-todayCommonJS-
msr8.2k-10 years agoCommonJS-
sdp3.4m-5 months agoESM + CommonJS-
h264-profile-level-id84.3k-3 months agoCommonJS-
retell-client-js-sdk86k-16 days agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.