Skip to content
JS
Package

is-odd

Returns true if the given number is odd, and is an integer that does not exceed the JavaScript MAXIMUM_SAFE_INTEGER.

v3.0.1, 31 May 2018MITCommonJSTypes: None
$ npm install is-odd

Key numbers

As of 25 Sept 2026
Weekly downloads
966.7k
+68% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
8 years ago
v3.0.1
GitHub stars
363
72 forks
Open issues / PRs
0 / 5
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.5m (18 Aug 2026)Low 236k (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.

966,667 downloads last week, 3,704,948 in the last month. The 12-month change of +68% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
07 in total
Latest version
3.0.1, 31 May 20188 years ago
First published
24 Feb 2015
Last push to GitHub
18 Apr 20192,716 days before the snapshot
Repository archived
Yes
Open issues
0
Open pull requests
5
Commits, last 52 weeks
0
Dependents on npm
136

Major versions

  1. v3 first release 3.0.0, 30 May 2018
  2. v2 first release 2.0.0, 1 Nov 2017
  3. v1 first release 1.0.0, 27 May 2017
  4. v0 first release 0.1.0, 24 Feb 2015

Recent releases

VersionPublished
3.0.131 May 2018
3.0.030 May 2018
2.0.01 Nov 2017
1.0.027 May 2017
0.1.227 May 2017
0.1.17 Dec 2016
0.1.024 Feb 2015
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=4
Runtimes
-
Unpacked size (npm)
6.4 kB
Dependencies (1)
is-number
npm install is-odd
  • jsDelivrhttps://cdn.jsdelivr.net/npm/is-odd@3.0.1/
  • unpkghttps://unpkg.com/is-odd@3.0.1/
  • esm.shhttps://esm.sh/is-odd@3.0.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

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