Skip to content
JS
Package

is-descriptor

Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.

v3.1.2, 11 May 2026MITCommonJSTypes: NoneNode.js utilities
$ npm install is-descriptor

Key numbers

As of 25 Sept 2026
Weekly downloads
42.2m
-7% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
4
Direct, from package.json
Last release
4 months ago
v3.1.2
GitHub stars
12
5 forks
Open issues / PRs
0 / 0
Contributors
5
Commits, last 52 weeks
20

Downloads

Last week 2026-09-15 to 2026-09-21
020m40m60mSept 2025Mar 2026Sept 2026High 58.4m (17 Mar 2026)Low 22.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.

42,232,910 downloads last week, 159,459,490 in the last month. The 12-month change of -7% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
318 in total
Latest version
3.1.2, 11 May 20264 months ago
First published
31 Aug 2015
Last push to GitHub
12 May 2026135 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
20
Dependents on npm
659

Major versions

  1. v3 first release 3.0.0, 14 Dec 2018
  2. v1 first release 1.0.0, 25 Feb 2017
  3. v0 first release 0.1.0, 31 Aug 2015

Recent releases

VersionPublished
3.1.211 May 2026
0.1.810 May 2026
1.0.410 May 2026
3.1.128 Oct 2023
0.1.727 Oct 2023
1.0.327 Oct 2023
3.1.02 May 2023
3.0.014 Dec 2018
1.0.228 Dec 2017
0.1.622 Jul 2017
1.0.122 Jul 2017
1.0.025 Feb 2017
0.1.525 Feb 2017
0.1.428 Dec 2015
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>= 0.4
Runtimes
-
Unpacked size (npm)
34 kB
Dependencies (4)
gopdhasownis-data-descriptoris-accessor-descriptor
npm install is-descriptor
  • jsDelivrhttps://cdn.jsdelivr.net/npm/is-descriptor@3.1.2/
  • unpkghttps://unpkg.com/is-descriptor@3.1.2/
  • esm.shhttps://esm.sh/is-descriptor@3.1.2
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.