Skip to content
JS
Package

hasown

A robust, ES3 compatible, "has own property" predicate.

v2.0.4, 28 May 2026MITCommonJSTypes: Bundled
$ npm install hasown

Key numbers

As of 25 Sept 2026
Weekly downloads
163.9m
+155% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
3 months ago
v2.0.4
GitHub stars
3
1 forks
Open issues / PRs
1 / 0
Contributors
2
Commits, last 52 weeks
17

Downloads

Last week 2026-09-15 to 2026-09-21
0100m200m300mSept 2025Mar 2026Sept 2026High 221.8m (25 Aug 2026)Low 51.5m (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.

163,875,377 downloads last week, 805,525,104 in the last month. The 12-month change of +155% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
26 in total
Latest version
2.0.4, 28 May 20263 months ago
First published
3 Sept 2014
Last push to GitHub
16 Sept 20268 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
17
Dependents on npm
1,654

Major versions

  1. v2 first release 2.0.0, 21 Oct 2023
  2. v1 first release 1.0.1, 3 Sept 2014

Recent releases

VersionPublished
2.0.428 May 2026
2.0.317 Apr 2026
2.0.210 Mar 2024
2.0.111 Feb 2024
2.0.021 Oct 2023
1.0.13 Sept 2014
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>= 0.4
Runtimes
-
Unpacked size (npm)
10 kB
Dependencies (1)
function-bind
npm install hasown

CDN

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

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