Search results

1000+ packages found

Define a non-enumerable property on an object. Uses Reflect.defineProperty when available, otherwise Object.defineProperty.

published version 2.0.2, 7 years ago896 dependents licensed under $MIT
286,938,660

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

published version 1.2.1, 2 years ago1800 dependents licensed under $MIT
201,817,054

`Object.defineProperty`, but not IE 8's broken one.

published version 1.0.1, 6 months ago1049 dependents licensed under $MIT
238,217,930

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

published version 1.1.4, a year ago1149 dependents licensed under $MIT
180,902,178

Define a lazily evaluated property on an object

published version 3.0.0, 4 years ago670 dependents licensed under $MIT
134,422,217

Utils for working with JavaScript classes and prototype methods.

published version 0.3.6, 7 years ago798 dependents licensed under $MIT
51,146,896

Collection of useful helper functions when trying to determine module type (CommonJS or AMD) properties of an AST node.

published version 6.0.1, 4 months ago14 dependents licensed under $MIT
11,980,212

Define a non-enumerable read-only property.

published version 0.2.2, 10 months ago1372 dependents licensed under $Apache-2.0
1,985,426

Define (or modify) an object property.

published version 0.2.4, 10 months ago64 dependents licensed under $Apache-2.0
1,986,129

Given an object and a property, replaces a property descriptor (or deletes it), and returns a thunk to restore it.

published version 1.1.0, 10 months ago6 dependents licensed under $MIT
1,270,428

Babel plugin that replaces member expressions and typeof statements with strings

published version 2.1.4, 2 years ago169 dependents licensed under $MIT
739,681

injects a #define statement into a shader source

published version 1.0.3, 10 years ago7 dependents licensed under $MIT
1,146,668

safely inject a block of tokens into a shader

published version 1.1.0, 9 years ago3 dependents licensed under $MIT
1,146,462

Simple API for managing options in JavaScript applications.

published version 4.0.0, 8 years ago5 dependents licensed under $MIT
130,742

Define a read-only property.

published version 0.2.2, 10 months ago157 dependents licensed under $Apache-2.0
142,235

Define a non-enumerable read-only accessor.

published version 0.2.3, 10 months ago178 dependents licensed under $Apache-2.0
111,539

Predefine your Object.defineProperties to create a more human readable API.

published version 0.1.3, 3 years ago10 dependents licensed under $MIT
107,871

Define a non-enumerable read-write accessor.

published version 0.2.2, 10 months ago119 dependents licensed under $Apache-2.0
60,925

tiny util for making enumerable properties

published version 1.0.0, 10 years ago7 dependents licensed under $MIT
41,295

UMD wrapper for esbuild

published version 3.0.0, a year ago4 dependents licensed under $MIT
36,704