hasown
A robust, ES3 compatible, "has own property" predicate.
Found 2368 results for property
A robust, ES3 compatible, "has own property" predicate.
`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
Extend an object with the properties of additional objects. node.js/javascript util.
`Object.defineProperty`, but not IE 8's broken one.
Define a non-enumerable property on an object. Uses Reflect.defineProperty when available, otherwise Object.defineProperty.
Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.
Merge objects using their property descriptors
Define a data property on an object. Will fall back to assignment in an engine without descriptors.
Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.
Define a lazily evaluated property on an object
Returns true if a value has the characteristics of a valid JavaScript data descriptor.
Compile regular expressions' unicodeSets (v) flag.
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
Parse regular expressions' unicodeSets (v) flag.
Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.
Get, set, or delete a property from a nested object using a dot path
Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
Set nested properties on an object using dot notation.
Info on the properties and attributes of the web platform
Create an error with a code
Delete nested properties from an object using dot notation.
Sorts CSS declarations fast and automatically in a certain order.
ECMAScript 6 Symbol polyfill
Use property paths like 'a.b.c' to get a nested value from an object. Even works when keys have dots in them (no other dot-prop library we tested does this, or does it correctly).
Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notation.
Returns an array of all enumerable symbol properties found directly upon a given object
Adds a static `extend` method to a class, to simplify inheritance. Extends the static properties, prototype properties, and descriptors from a `Parent` constructor onto `Child` constructors.
A better Object.defineProperty()
Handle values based on a property
Property descriptor factory
Utils for working with JavaScript classes and prototype methods.
Get a compare function for array to sort
tiny util for getting and setting deep object props safely
Use logical properties and values in CSS
Tests if a JSON property can be accessed using . syntax
A safer `.hasOwnProperty()`
Like `extend` but only copies missing properties/values to the target object.
Map of URL attributes in HTML
Return a copy of an object excluding the given key, or array of keys. Also accepts an optional filter function as the last argument.
Access deep object properties using a path
HTML and SVG DOM property configs used by React.
Mixin the own and inherited properties of other objects onto the first object. Pass an empty object as the first arg to shallow clone.
Copy properties deeply between two objects.
Sanitize strings for use as JavaScript identifiers & property names
Fast and powerful array sorting. Sort an array of objects by one or more properties. Any number of nested properties or custom comparison functions may be used.
hast utility to check if a node has a property
Processes each properties of an object deeply.
Recursively merge values in a javascript object.
Test if an object has a specified property.
Define (or modify) an object property.
Get a property from an object using dot (object path) notation.
Sort an array on an object property
Define a non-enumerable read-only property.
Given an object and a property, replaces a property descriptor (or deletes it), and returns a thunk to restore it.
Shallow clones an object while respecting the original property descriptors
Does a JS type have a property
List of getter/setter properties for JavaScript types
Like `Object.keys()` but also includes symbols
List of properties for JavaScript objects
Map of HTML elements to allowed attributes
Similar to assign-value but deeply merges object values or nested values using object path/dot notation.
Map of SVG elements to allowed attributes
Client-side support for CSS custom properties (aka "CSS variables") in legacy and modern browsers
Provides a list of reserved identifiers for JavaScript
Lazily initialized properties for objects
A stylelint rule to disallow usage of unknown custom properties
Check if a string is a valid JavaScript identifier
Parse length and angle CSS values and convert between units
Read, write or test a data structure's nested property via a string like 'my.nested.property'. It works through arrays and objects.'
Access nested property values at any depth with a simple expression.
Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.
Curried property accessor function that resolves deeply-nested object properties via dot/bracket-notation string path while mitigating TypeErrors via friendly and composable API.
Minimal bi-directional object references for JavaScript
Execute a method out from an object.
Enforce usage of logical properties and values in CSS
Executes a callback for each property found on a object, with options regarding enumerability (enumerable or non-enumerable) and ownership (inherited or only own properties). It excludes built-in properties from Object and Function prototypes by default,
Inspects a Property and returns useful informations about it (e.g. nested properties, function inspection, property descriptor, value, type, constructor)
Group array of objects into lists.
Sort CSS declarations in a certain order.
Executes a callback for each property found on a object, recursively on nested properties, with options regarding enumerability (enumerable or non-enumerable) and ownership (inherited or only own properties). It excludes built-in properties from Object an
Convert string with bracket notation to dot property notation for Node.js and the browser.
Fast and simple way to parse code context for use with documentation from code comments. Parses context from a single line of JavaScript, for functions, variable declarations, methods, prototype properties, prototype methods etc.
Reduces an object to a value that is the accumulated result of running each property in the object through a callback. Executes the callback function once for each own enumerable property in the object, receiving four arguments: the initial value (or valu
Lazy evaluated property injection decorators for InversifyJS
Modify deep object properties without modifying the original object (immutability). Works great with React and Redux.
Utility for modifying / processing the contents of Javascript objects or arrays via object notation strings or globs.
Enforce usage of logical properties and values in CSS
Returns true if an object has an own, nested property using dot notation paths ('a.b.c').
Like `extend` but recursively copies only the missing properties/values to the target object.
Get the textual position of a property in a JSON text
Get a property from object
A dynamic JSON parser that isn't strict and can be customized.
Create a new object filtered to have only properties for which the callback returns true.
Returns `true` if a value exists in the given string, array or object.
Just a helper for plucking a property out of an object.
A package for detecting all duplicated property keys of a JSON string.
Expand a string into a JavaScript object using a simple notation. Use the CLI or as a node.js lib.
List of prototype properties for JavaScript types
Immutable version of dot-prop with some extensions
Test if an object's own property is enumerable.
Define a non-enumerable read-only accessor.
Encrypted model attributes in your favourite ORM.
The lodash method `_.property` exported as a module.
hast utility to check if a property is an event handler
Define a read-only property.
Create property accessor/caller statements for dot paths
get value by object property
Return a property descriptor for an object's own property.
🐡 Get, set, remove, and test for deeply nested properties
Map of info on enumerated attributes in HTML
a simple utility function for getting a value at a path from an object with all the usecases properly covered
A plugin to automatically generate properties (for example data attributes) for all JSX open tags, using user specified convention
Creates an Object from a collection of key-value pairs or key-descriptor pairs.
A safe, declarative way to influence the styles and attributes of nodes outside your app's tree.
Define a non-enumerable read-write accessor.
Hides certain model properties when invoking toJSON or toObject.
Effectively merge arrays of objects into a single array by merging objects with the same key (property).
Use property paths like 'a.b.c' to get a nested value from an object. Even works when keys have dots in them (no other dot-prop library can do this!).
Two way conversions between objects and dot/bracket notation
PostCSS plugin for sass-like Map Function
Use dot notation to get properties from deeply nested object and array structures.
Parsing and tokenizing attributes string
Get the 'src' value from any string containing a src="" (embed, iframe, html, etc).
Check whether a given CSS property is the shorthand form
Type-safe library for reading, writing, or checking, nested values of an object
A fast pattern matcher on JavaScript object properties.
Better `Object.defineProperty()`.
Generative property tests for Jasmine
Defines multiple object properties all at once, optionally with shared settings.
HTML5 HTMLElement.dataset ponyfill
PostCss plugin to use CSS Custom Properties in at-rule @each, @for, @if, @else
(fork of omit-empty) Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.
The hasNestedProperty method missing in Object. This module does not extend Object.
Retrieves a property only if hasOwnProperty() is true.
Set nested values on an object using a dot path or custom separator
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
Get a property from a nested object using a dot path or custom separator
Inline SVGs in CSS. Supports SVG Fragments, SVG Parameters.
Use powerful dot notation (dot path + wildcard) to manipulate properties of JSON
💠 Recursive assign for objects, arrays and more
Deep sort an object, no matter what the contents are.
Set and get values on objects via dot-notation strings.
Safely get deep nested properties using dot notation
Creates an object composed of the picked object properties from a nested object using a dot path or custom separator
Return a copy of an object without the given keys.
Apple Property List (plist) parsing & serializing of XML / Binary / JSON formats
A decorator for watching property change
Utility for sorting object arrays on multiple properties
Polyfill for window.location.origin
Pluck nested properties from an object
Sets the value at path of object.
Immutable, optimized and optionally typed path-based object property / array accessors with structural sharing
Get property value by dot notation
Filter an object values using glob patterns or with a `callback` function returns true.
Define JavaScript object properties quickly with ES5 defaults
Randomised test property/data generation for NodeJS
Get a nested property
check RegExp ( regular expressions ) support
Use the opacity property in older Internet Explorer
tiny util for making enumerable properties
Return a partial object copy containing only specified keys.
Define lazy properties on objects that are initialized once and only when accessed. Also known as a lazy initialization and cached/memoized getters.
Return a partial object copy excluding specified keys.
Filter the keys of an object using glob patterns.
Locale Property Resource Bundle Loader for Webpack
A dynamic JSON parser that isn't strict and can be customized.
Test if an object has a specified method name, either own or inherited.
Sort an array of objects based on a certain property supplied in path form
Access nested object properties via strings
expands expressions in object graphs
Generates all possible objects (combinations of property values).
A spec-compliant as much as it could be, small, and tested ES6 Symbol implementation.
Define an accessor property on an object. Will either throw, or fall back to assignment in loose mode, in an engine without descriptors.
Deletes a deeply nested object property
Sort an array of JSON objects by a property
Deep set a nested property.
tiny util for getting and setting deep object props safely
Extract front-matter header from files
Deep get a nested property.
A stylelint rule to disallow usage of unknown custom properties
A mixin for declaring property accessors
Stringify any value to be used as the key of an object.
Easily use dot notation to `get`, or `set` a property of a nested object.
Get the vendors prefixes of a css properties, according to can i use datas.
A small safe accessor that uses reduce to prevent 'Cannot read property of undefined' errors
Parser and stringifier of `border` property
Validate the type of object's properties.
Defines a read-only property.
Getter-setter factory utility
A set of useful utility functions for JavaScript run-time type checking and inspection.
Turn any window method to a writable state in IE<=8
Convert content of a class instance to a string.
get the property value from a nested object by using the dot path `a.b.c`
transition property detect
detect the properties in one lib
Deep-clone properties from one object to another and make them non-enumerable, or make existing properties on an object non-enumerable.
bind a property descriptor (value, getter and setter)
Fetch, set, and test deeply nested object properties
A simple and intuitive way to shim private methods and properties in JavaScript.
Assign a value to a property in an Array iterator
Help to manage your methods & properties exposition
Assign a value or extend a deeply nested property of an object using object path notation.
A stylelint rule to disallow usage of unknown custom properties
Get and set object properties by path where you can specify the separator.
ES 2015 way of making private properties in class-based programming
CSS Prefixer for JavaScript code. The simple library to get vendor-prefixed name (e.g. `webkitFlex`) and vendor-prefixed value (e.g. `-moz-inline-grid`) of CSS property. This is not pre-compiler for style-sheet, this is used to handle those in JavaScript
set a new property in a js object and return the value of the given property
Gets the current value of a style property for a given DOM element.
Simple property searches on your JavaScript objects.
Assign objects into groups by one or more properties, by object value, or by using a comparator function.
Babel plugin that binds every class method to "this" with hot reload support
Returns an array of names from a module. Includes all enumerable properties with function values, own and inherited.
unist utility to index property values or computed keys to nodes
Generate type safe dot paths to object properties based on an interface.
Parse a string of javascript to determine the context for functions, variables and comments based on the code that follows.
List of HTML event handler attributes
Provides a way to parse Tiled project files (.tiled-project) and maps into typescript usable format,. Additionally, it also flattens the properties of nested Tiled classes into the root Tiled class's/object's/layer's own properties, as if it had inherited
List of SVG event handler attributes
StyleStats is a small library to collect CSS statistics!
Property based testing plugin for unexpected
JavaScript library and application to filter a JSON object by including and excluding properties.
Delve recursively into a value to retrieve a property; without erroring.
Parameter validator makes it easy to verify that an object contains required, valid parameters.
Returns `true` if the value of an object's property is strictly true, or it's inverse is false.
DEPRECATED - use set-value instead.
Pass an array of object paths (e.g. `a.b.c`) and get the first non-undefined value if the property exists, or null if it does not.
Returns true if an object has any of the specified keys.
Convert a string to a valid JavaScript identifier
gets own enumerable property names and symbols
a tiny util to mix functions and properties into a prototype
Partial Lenses functions lifted to work on Kefir properties
Return true if `key` exists deeply on the given object.
Collapse an object into a string using the syntax from expand-object. This syntax is pretty handy for setting command line arguments, for expanding/collapsing test fixtures, etc.
Get, set, or delete a property from a nested object using a dot path refactored for typescript
Makes your object properties hard.
Test if an object has a specified property, either own or inherited.
Generative property tests for Mocha
Define a read-only accessor.
Special purpose lifting combinator for Kefir properties
Harden properties of entity.
Define a read-write accessor.
Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notation.
Apple Property List (plist) parsing & serializing of XML / Binary / JSON formats
Count object's keys.
Deep omitting with support for predicate functions, and arrays
Vue Component Plugin for asynchronous data and computed properties.
PostCSS plugin enabling variable mapping for @each
replacement for Object.defineProperty
Sum the elements of an array with an optional iteratee function