Skip to content
JS
Package

is-number

Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.

v7.0.0, 4 Jul 2018MITCommonJSTypes: NoneNode.js utilities
$ npm install is-number

Key numbers

As of 25 Sept 2026
Weekly downloads
139.8m
+61% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
8 years ago
v7.0.0
GitHub stars
284
56 forks
Open issues / PRs
9 / 8
Contributors
4
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
050m100m150m200mSept 2025Mar 2026Sept 2026High 173.5m (25 Aug 2026)Low 53.8m (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.

139,793,791 downloads last week, 640,671,098 in the last month. The 12-month change of +61% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
015 in total
Latest version
7.0.0, 4 Jul 20188 years ago
First published
22 Sept 2014
Last push to GitHub
15 Sept 20221,470 days before the snapshot
Repository archived
No
Open issues
9
Open pull requests
8
Commits, last 52 weeks
0
Dependents on npm
2,814

Major versions

  1. v7 first release 7.0.0, 4 Jul 2018
  2. v6 first release 6.0.0, 31 Mar 2018
  3. v5 first release 5.0.0, 29 Jan 2018
  4. v4 first release 4.0.0, 17 Oct 2017
  5. v3 first release 3.0.0, 11 Sept 2016
  6. v2 first release 2.0.0, 2 May 2015
  7. v1 first release 1.0.0, 24 Jan 2015
  8. v0 first release 0.1.0, 22 Sept 2014

Recent releases

VersionPublished
7.0.04 Jul 2018
6.0.031 Mar 2018
5.0.029 Jan 2018
4.0.017 Oct 2017
3.0.011 Sept 2016
2.1.022 Nov 2015
2.0.23 May 2015
2.0.13 May 2015
2.0.02 May 2015
1.1.25 Mar 2015
1.1.15 Mar 2015
1.1.024 Jan 2015
1.0.024 Jan 2015
0.1.122 Sept 2014
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=0.12.0
Runtimes
-
Unpacked size (npm)
9.4 kB
Dependencies (0)
None
npm install is-number

CDN

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

Indexability: Indexed.