Skip to content
JS
Package

type-detect

Improved typeof detection for node.js and the browser.

v4.1.0, 25 Jul 2024MITCommonJSTypes: None
$ npm install type-detect

Key numbers

As of 25 Sept 2026
Weekly downloads
47.4m
+23% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
2 years ago
v4.1.0
GitHub stars
128
32 forks
Open issues / PRs
6 / 2
Contributors
18
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020m40m60m80mSept 2025Mar 2026Sept 2026High 65.5m (25 Aug 2026)Low 21.7m (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.

47,357,091 downloads last week, 219,481,914 in the last month. The 12-month change of +23% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
017 in total
Latest version
4.1.0, 25 Jul 20242 years ago
First published
14 Aug 2013
Last push to GitHub
25 Jul 2024791 days before the snapshot
Repository archived
No
Open issues
6
Open pull requests
2
Commits, last 52 weeks
0
Dependents on npm
1,317

Major versions

  1. v4 first release 4.0.0, 10 Oct 2016
  2. v3 first release 3.0.0, 8 Oct 2016
  3. v2 first release 2.0.0, 13 Mar 2016
  4. v1 first release 1.0.0, 5 Apr 2015
  5. v0 first release 0.1.0, 14 Aug 2013

Recent releases

VersionPublished
4.1.025 Jul 2024
4.0.81 Feb 2018
4.0.719 Jan 2018
4.0.616 Jan 2018
4.0.59 Nov 2017
4.0.320 Apr 2017
4.0.220 Apr 2017
4.0.118 Apr 2017
4.0.010 Oct 2016
3.0.08 Oct 2016
2.0.227 Jul 2016
2.0.116 May 2016
2.0.013 Mar 2016
1.0.05 Apr 2015
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=4
Runtimes
-
Unpacked size (npm)
38 kB
Dependencies (0)
None
npm install type-detect

CDN

jsDelivr: 53.7k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/type-detect@4.1.0/
  • unpkghttps://unpkg.com/type-detect@4.1.0/
  • esm.shhttps://esm.sh/type-detect@4.1.0
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.