define-lazy-prop defines a lazily evaluated property on an object, so a provided value function runs the first time the property is accessed. It is useful for deferring expensive computations to improve startup performance or delay nonessential work until it is needed.
Project status
- Maintenance status: The source appears effectively dormant, with the most recent upstream push on 2023-03-19 and no newer published updates after v3.0.0 (2021-04-14), so it does not look actively maintained as of 2026-09-10.
- Update cadence: Updates have been infrequent historically, with multi-year gaps (v1 in 2017, v2 in 2019, v3 in 2021), and none in the last several years relative to today.
AI summary generated
Recent updates
v3.0.0
v3.0.0 moves define-lazy-prop to a pure ESM package and bumps the minimum supported Node.js version to 12. The core functionality remains a lazy getter that computes once and caches the value on first access.
Breakingv2.0.0
v2.0.0 introduces a breaking runtime requirement by raising the minimum supported Node.js version to 8. It also adds TypeScript definition files to improve developer ergonomics when using the package in TypeScript projects.
BreakingFeaturesv1.0.0
Release v1.0.0 was published on 2017-01-15, but no release notes or change log details were provided by the publisher. As a result, there is no documented information about new features, fixes, security updates, or potential breaking changes for this upgrade.