Skip to content
JS
Package

@metamask/detect-provider

A tiny utility for detecting the MetaMask Ethereum provider, or any EIP 1193-compliant provider.

v2.0.0, 3 Oct 2022ISCCommonJSTypes: BundledBlockchain and Web3
$ npm install @metamask/detect-provider

Key numbers

As of 25 Sept 2026
Weekly downloads
31.5k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
3 years ago
v2.0.0
GitHub stars
238
63 forks
Open issues / PRs
17 / 10
Contributors
-
Commits, last 52 weeks
0

No weekly download data in the snapshot.

31,468 downloads last week, 116,397 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
2.0.0, 3 Oct 20223 years ago
First published
-
Last push to GitHub
18 Sept 20266 days before the snapshot
Repository archived
No
Open issues
17
Open pull requests
10
Commits, last 52 weeks
0
Dependents on npm
310

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=14.0.0
Runtimes
-
Unpacked size (npm)
20 kB
Dependencies (0)
None
npm install @metamask/detect-provider
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@metamask/detect-provider@2.0.0/
  • unpkghttps://unpkg.com/@metamask/detect-provider@2.0.0/
  • esm.shhttps://esm.sh/@metamask/detect-provider@2.0.0
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.