hasown
A robust, ES3 compatible, "has own property" predicate.
Found 2394 results for property
A robust, ES3 compatible, "has own property" predicate.
`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
`Object.defineProperty`, but not IE 8's broken one.
Merge objects using their property descriptors
Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.
Extend an object with the properties of additional objects. node.js/javascript util.
Define a data property on an object. Will fall back to assignment in an engine without descriptors.
Define a lazily evaluated property on an object
Define a non-enumerable property on an object. Uses Reflect.defineProperty when available, otherwise Object.defineProperty.
Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.
Info on the properties and attributes of the web platform
Compile regular expressions' unicodeSets (v) flag.
Parse regular expressions' unicodeSets (v) flag.
Get, set, or delete a property from a nested object using a dot path
Returns true if a value has the characteristics of a valid JavaScript data descriptor.
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
Handle values based on a property
Create an error with a code
Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.
Set nested properties on an object using dot notation.
Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
Map of URL attributes in HTML
Sorts CSS declarations fast and automatically in a certain order.
Returns an array of all enumerable symbol properties found directly upon a given object
ECMAScript 6 Symbol polyfill
Delete nested properties from an object using dot notation.
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.
A better Object.defineProperty()
Get a compare function for array to sort
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.
Property descriptor factory
Tests if a JSON property can be accessed using . syntax
tiny util for getting and setting deep object props safely
Utils for working with JavaScript classes and prototype methods.
Use logical properties and values in CSS
Like `extend` but only copies missing properties/values to the target object.
Like `Object.keys()` but also includes symbols
A safer `.hasOwnProperty()`
HTML and SVG DOM property configs used by React.
Return a copy of an object excluding the given key, or array of keys. Also accepts an optional filter function as the last argument.
hast utility to check if a node has a property
Access deep object properties using a path
Mixin the own and inherited properties of other objects onto the first object. Pass an empty object as the first arg to shallow clone.
Sanitize strings for use as JavaScript identifiers & property names
Copy properties deeply between two objects.
Recursively merge values in a javascript object.
Provides a list of reserved identifiers for JavaScript
Convert a string to a valid JavaScript identifier
Processes each properties of an object deeply.
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.
Define (or modify) an object property.
Test if an object has a specified property.
Define a non-enumerable read-only property.
Sort an array on an object property
Get a property from an object using dot (object path) notation.
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
Similar to assign-value but deeply merges object values or nested values using object path/dot notation.
Check if a string is a valid JavaScript identifier
Map of HTML elements to allowed attributes
List of getter/setter properties for JavaScript types
Does a JS type have a property
List of properties for JavaScript objects
A stylelint rule to disallow usage of unknown custom properties
Read, write or test a data structure's nested property via a string like 'my.nested.property'. It works through arrays and objects.'
Client-side support for CSS custom properties (aka "CSS variables") in legacy and modern browsers
Minimal bi-directional object references for JavaScript
Map of SVG elements to allowed attributes
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.
Enforce usage of logical properties and values in CSS
Lazily initialized properties for objects
Sort CSS declarations in a certain order.
Parse length and angle CSS values and convert between units
Execute a method out from an object.
Curried property accessor function that resolves deeply-nested object properties via dot/bracket-notation string path while mitigating TypeErrors via friendly and composable API.
Enforce usage of logical properties and values in CSS
Group array of objects into lists.
Convert string with bracket notation to dot property notation for Node.js and the browser.
Define a read-only property.
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)
Utility for modifying / processing the contents of Javascript objects or arrays via object notation strings or globs.
Modify deep object properties without modifying the original object (immutability). Works great with React and Redux.
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
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
Lazy evaluated property injection decorators for InversifyJS
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.
A package for detecting all duplicated property keys of a JSON string.
Define a non-enumerable read-only accessor.
hast utility to check if a property is an event handler
A dynamic JSON parser that isn't strict and can be customized.
Get the textual position of a property in a JSON text
List of prototype properties for JavaScript types
Like `extend` but recursively copies only the missing properties/values to the target object.
The lodash method `_.property` exported as a module.
Test if an object's own property is enumerable.
Map of info on enumerated attributes in HTML
Just a helper for plucking a property out of an object.
Returns true if an object has an own, nested property using dot notation paths ('a.b.c').
Returns `true` if a value exists in the given string, array or object.
Create a new object filtered to have only properties for which the callback returns true.
Return a property descriptor for an object's own property.
Define a non-enumerable read-write accessor.
Expand a string into a JavaScript object using a simple notation. Use the CLI or as a node.js lib.
Immutable version of dot-prop with some extensions
Create property accessor/caller statements for dot paths
Encrypted model attributes in your favourite ORM.
get value by object property
🐡 Get, set, remove, and test for deeply nested properties
Get the 'src' value from any string containing a src="" (embed, iframe, html, etc).
a simple utility function for getting a value at a path from an object with all the usecases properly covered
Return a partial object copy containing only specified keys.
Two way conversions between objects and dot/bracket notation
A safe, declarative way to influence the styles and attributes of nodes outside your app's tree.
Parsing and tokenizing attributes string
Return a partial object copy excluding specified keys.
PostCSS plugin for sass-like Map Function
Effectively merge arrays of objects into a single array by merging objects with the same key (property).
A plugin to automatically generate properties (for example data attributes) for all JSX open tags, using user specified convention
PostCss plugin to use CSS Custom Properties in at-rule @each, @for, @if, @else
Test if an object has a specified method name, either own or inherited.
Better `Object.defineProperty()`.
Generative property tests for Jasmine
Pluck nested properties from an object
Inline SVGs in CSS. Supports SVG Fragments, SVG Parameters.
Type-safe library for reading, writing, or checking, nested values of an object
Check whether a given CSS property is the shorthand form
Use dot notation to get properties from deeply nested object and array structures.
Safely get deep nested properties using dot notation
A fast pattern matcher on JavaScript object properties.
A mixin for declaring property accessors
The hasNestedProperty method missing in Object. This module does not extend Object.
Return a copy of an object without the given keys.
Hides certain model properties when invoking toJSON or toObject.
Filter an object values using glob patterns or with a `callback` function returns true.
HTML5 HTMLElement.dataset ponyfill
Creates an Object from a collection of key-value pairs or key-descriptor pairs.
Use powerful dot notation (dot path + wildcard) to manipulate properties of JSON
Get property value by dot notation
Get a property from object
[![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
Test if an object has a specified property, either own or inherited.
A decorator for watching property change
check RegExp ( regular expressions ) support
Utility for sorting object arrays on multiple properties
Deep sort an object, no matter what the contents are.
(fork of omit-empty) Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.
Randomised test property/data generation for NodeJS
Polyfill for window.location.origin
Immutable, optimized and optionally typed path-based object property / array accessors with structural sharing
Apple Property List (plist) parsing & serializing of XML / Binary / JSON formats
Get and set nested properties of objects and arrays
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!).
Set nested values on an object using a dot path or custom separator
List of HTML event handler attributes.
Generates all possible objects (combinations of property values).
Define a read-only accessor.
Get a property from a nested object using a dot path or custom separator
Define JavaScript object properties quickly with ES5 defaults
Set and get values on objects via dot-notation strings.
tiny util for making enumerable properties
Stringify any value to be used as the key of an object.
Deep set a nested property.
Define a read-write accessor.
Define an accessor property on an object. Will either throw, or fall back to assignment in loose mode, in an engine without descriptors.
Defines multiple object properties all at once, optionally with shared settings.
Creates an object composed of the picked object properties from a nested object using a dot path or custom separator
Retrieves a property only if hasOwnProperty() is true.
Property based testing plugin for unexpected
Use the opacity property in older Internet Explorer
Deep get a nested property.
Fetch, set, and test deeply nested object properties
Filter the keys of an object using glob patterns.
Define lazy properties on objects that are initialized once and only when accessed. Also known as a lazy initialization and cached/memoized getters.
Access nested object properties via strings
Sort an array of objects based on a certain property supplied in path form
Get the vendors prefixes of a css properties, according to can i use datas.
A spec-compliant as much as it could be, small, and tested ES6 Symbol implementation.
💠 Recursive assign for objects, arrays and more
Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notation.
Extract front-matter header from files
Assign a value to a property in an Array iterator
unist utility to index property values or computed keys to nodes
Sort an array of JSON objects by a property
A stylelint rule to disallow usage of unknown custom properties
Deletes a deeply nested object property
Validate the type of object's properties.
Defines a read-only property.
get the property value from a nested object by using the dot path `a.b.c`
Sets the value at path of object.
bind a property descriptor (value, getter and setter)
Parse a string of javascript to determine the context for functions, variables and comments based on the code that follows.
Simple property searches on your JavaScript objects.
Easily use dot notation to `get`, or `set` a property of a nested object.
Gets the current value of a style property for a given DOM element.
Locale Property Resource Bundle Loader for Webpack
Reactive property system.
Parameter validator makes it easy to verify that an object contains required, valid parameters.
A Node.js wrapper for Microsoft Windows' WMIC
A dynamic JSON parser that isn't strict and can be customized.
A small safe accessor that uses reduce to prevent 'Cannot read property of undefined' errors
Turn any window method to a writable state in IE<=8
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
Convert content of a class instance to a string.
Assign a value or extend a deeply nested property of an object using object path notation.
Deep-clone properties from one object to another and make them non-enumerable, or make existing properties on an object non-enumerable.
Babel plugin that binds every class method to "this" with hot reload support
Generative property tests for Mocha
A simple and intuitive way to shim private methods and properties in JavaScript.
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
ES 2015 way of making private properties in class-based programming
PostCSS helper method to shallowly iterate over each declaration.
A set of useful utility functions for JavaScript run-time type checking and inspection.
Convert a JavaScript object's key:value pairs into a [customizable] delimited property string
Test whether at least one element in a provided array has a specified property key-value pair, either own or inherited.
Generate type safe dot paths to object properties based on an interface.
util for validation that object has defined props
Get, set, or delete a property from a nested object using a dot path refactored for typescript
Access nested object properties using a dot path
Define a non-enumerable property.
Getter-setter factory utility
ESLint rules for sorting properties of object expressions, object destructures, and type literals interfaces for TypeScript by their keys.
Transform @object properties using @propKeys and @transformers. ES5 compatible.
StyleStats is a small library to collect CSS statistics!
Test if an object has a specified method name.
Returns true if an object has any of the specified keys.
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.
expands expressions in object graphs
Return true if `key` exists deeply on the given object.
Returns `true` if the value of an object's property is strictly true, or it's inverse is false.
Makes your object properties hard.
Data-driven tween / property animation
TypeScript SDK for BatchData.io Property API - Types, Builders, and Utilities
Assign objects into groups by one or more properties, by object value, or by using a comparator function.
This plugin allows the [Jsonic](https://jsonic.senecajs.org) JSON parser to support csv syntax.
transition property detect
detect the properties in one lib
This plugin allows the [Jsonic](https://jsonic.senecajs.org) JSON parser to determine the path to values.
tiny util for getting and setting deep object props safely
🚅 Find the closest or exact value using binary search
SDK for building ResyPress themes - reusable components, API services, and utilities
Get, set, or delete a property from a nested object using a dot path
PostCSS plugin enabling variable mapping for @each
ExtremeJS Utilities
Harden properties of entity.
This plugin allows the [Jsonic](https://jsonic.senecajs.org) JSON parser to support string hoovering (unquoted internal spaces).