ljharb

ljharb/define-properties

Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in older engines.

JavaScript
21
9
MIT License

`define-properties` is a utility for defining multiple non-enumerable properties on an object at once, using `Object.defineProperty` when available and falling back to standard assignment in older environments. It allows selective overriding of existing properties through predicate functions and is particularly useful for library authors who need to extend objects without modifying their existing properties or enumerability. The library is designed for JavaScript developers working with object property management, especially those building libraries or frameworks that need to add properties to objects in a controlled, non-intrusive manner.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

ljharb's profile
ljharb
134 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet