Skip to content
JS
Package

has

Object.prototype.hasOwnProperty.call shortcut

v1.0.4, 3 Oct 2023MITCommonJSTypes: None
$ npm install has

Key numbers

As of 25 Sept 2026
Weekly downloads
15.6m
-20% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
2 years ago
v1.0.4
GitHub stars
60
13 forks
Open issues / PRs
0 / 1
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
010m20m30mSept 2025Mar 2026Sept 2026High 22.7m (25 Nov 2025)Low 8.4m (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.

15,559,111 downloads last week, 58,686,778 in the last month. The 12-month change of -20% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
06 in total
Latest version
1.0.4, 3 Oct 20232 years ago
First published
8 Oct 2013
Last push to GitHub
3 Oct 20231,087 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
1,619

Major versions

  1. v1 first release 1.0.0, 7 Oct 2014
  2. v0 first release 0.0.1, 8 Oct 2013

Recent releases

VersionPublished
1.0.43 Oct 2023
1.0.34 Jun 2018
1.0.22 Jun 2018
1.0.124 Jul 2015
1.0.07 Oct 2014
0.0.18 Oct 2013
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>= 0.4.0
Runtimes
-
Unpacked size (npm)
3.0 kB
Dependencies (0)
None
npm install has

CDN

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

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