Package
is-descriptor
Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.
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
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
- v3 first release 3.0.0, 14 Dec 2018
- v1 first release 1.0.0, 25 Feb 2017
- v0 first release 0.1.0, 31 Aug 2015
Recent releases
| Version | Published |
|---|---|
| 3.1.2 | 11 May 2026 |
| 0.1.8 | 10 May 2026 |
| 1.0.4 | 10 May 2026 |
| 3.1.1 | 28 Oct 2023 |
| 0.1.7 | 27 Oct 2023 |
| 1.0.3 | 27 Oct 2023 |
| 3.1.0 | 2 May 2023 |
| 3.0.0 | 14 Dec 2018 |
| 1.0.2 | 28 Dec 2017 |
| 0.1.6 | 22 Jul 2017 |
| 1.0.1 | 22 Jul 2017 |
| 1.0.0 | 25 Feb 2017 |
| 0.1.5 | 25 Feb 2017 |
| 0.1.4 | 28 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- jsDelivr
https://cdn.jsdelivr.net/npm/is-descriptor@3.1.2/ - unpkg
https://unpkg.com/is-descriptor@3.1.2/ - esm.sh
https://esm.sh/is-descriptor@3.1.2
Indexability: Indexed.