</>PackageGraphPackageGraph

define-data-property

npmv1.1.4TypeScript

Define a data property on an object. Will fall back to assignment in an engine without descriptors.

96.7M
Weekly downloads
2
Dependents
30
Dependencies
100/100
Popularity

Overview

define-data-property is an npm package that define a data property on an object. Will fall back to assignment in an engine without descriptors. It is extremely widely used, with about 96.7M downloads per week and 2 known dependents in the graph. The latest version is 1.1.4, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need define a data property on an object. Will fall back to assignment in an engine without descriptors and value a battle-tested, widely-adopted 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

  • Large, well-established user base (96.7M weekly downloads).
  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • Large dependency tree (30 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 define-data-property.

Dependencies

Dev (27)

@ljharb/eslint-config ^21.1.0@types/call-bind ^1.0.5@types/define-properties ^1.1.5@types/es-value-fixtures ^1.4.4@types/for-each ^0.3.3@types/get-intrinsic ^1.2.2@types/gopd ^1.0.3@types/has-property-descriptors ^1.0.3@types/object-inspect ^1.8.4@types/object.getownpropertydescriptors ^2.1.4@types/tape ^5.6.4aud ^2.0.4auto-changelog ^2.4.0es-value-fixtures ^1.4.2eslint =8.8.0evalmd ^0.0.19for-each ^0.3.3hasown ^2.0.1in-publish ^2.0.1npmignore ^0.3.1nyc ^10.3.2object-inspect ^1.13.1object.getownpropertydescriptors ^2.1.7reflect.ownkeys ^1.1.4safe-publish-latest ^2.0.0tape ^5.7.4typescript next

Used by

Popular packages that depend on define-data-property.

Alternatives to define-data-property

Frequently installed together

Version history

VersionPublishedLicense
1.1.4latest2 years agoMIT
1.1.32 years agoMIT
1.1.22 years agoMIT
1.1.12 years agoMIT
1.1.02 years agoMIT
1.0.12 years agoMIT
1.0.02 years agoMIT

Maintainers

Keywords

Funding

Frequently asked questions

How do I install define-data-property?

Run `npm install define-data-property` to add define-data-property to your npm project.

What license is define-data-property released under?

define-data-property is distributed under the MIT license.

How popular is define-data-property?

define-data-property has approximately 96,677,693 downloads per week and 2 known dependent packages.