</>PackageGraphPackageGraph

hasown

npmv2.0.4TypeScript

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

0
Weekly downloads
2
Dependents
17
Dependencies
4/100
Popularity

Overview

hasown is an npm package that a robust, ES3 compatible, "has own property" predicate. The latest version is 2.0.4, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need a robust, ES3 compatible, "has own property" predicate and value a focused solution.

When not to use it

Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.

Pros

  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • Large dependency tree (17 direct dependencies) increases install size and audit surface.

Auto-generated from collected registry metadata. No external claims are inferred.

Relationship graph

Dependencies (left) and dependents (right) of hasown.

form-dataes-set-tostringtaghasown
hasown dependencies dependents

Dependencies

Runtime (1)

function-bind ^1.1.2

Dev (16)

@arethetypeswrong/cli ^0.18.2@ljharb/eslint-config ^22.2.3@ljharb/tsconfig ^0.3.2@types/function-bind ^1.1.10@types/tape ^5.8.1auto-changelog ^2.5.1eslint ^10.4.0evalmd ^0.0.19in-publish ^2.0.1jiti ^0.0.0mock-property ^1.1.0npmignore ^0.3.5nyc ^10.3.2safe-publish-latest ^2.0.0tape ^5.9.0typescript next

Used by

Popular packages that depend on hasown.

Alternatives to hasown

Frequently installed together

Version history

VersionPublishedLicense
2.0.4latest1 month agoMIT
2.0.33 months agoMIT
2.0.22 years agoMIT
2.0.12 years agoMIT
2.0.02 years agoMIT
1.0.112 years agoMIT

Maintainers

Keywords

Frequently asked questions

How do I install hasown?

Run `npm install hasown` to add hasown to your npm project.

What license is hasown released under?

hasown is distributed under the MIT license.

How popular is hasown?

hasown has approximately 0 downloads per week and 2 known dependent packages.