hasown
A robust, ES3 compatible, "has own property" predicate.
Found 2373 results for property
A robust, ES3 compatible, "has own property" predicate.
Extend an object with the properties of additional objects. node.js/javascript util.
`Object.defineProperty`, but not IE 8's broken one.
Merge objects using their property descriptors
Define a non-enumerable property on an object. Uses Reflect.defineProperty when available, otherwise Object.defineProperty.
`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
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
Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.
Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.
Compile regular expressions' unicodeSets (v) flag.
Returns true if a value has the characteristics of a valid JavaScript data descriptor.
Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
Get, set, or delete a property from a nested object using a dot path
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.
Info on the properties and attributes of the web platform
Parse regular expressions' unicodeSets (v) flag.
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).
Create an error with a code
A better Object.defineProperty()
Returns an array of all enumerable symbol properties found directly upon a given object
Delete nested properties from an object using dot notation.
ECMAScript 6 Symbol polyfill
Property descriptor factory
Sorts CSS declarations fast and automatically in a certain order.
Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notation.
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.
Handle values based on a property
Utils for working with JavaScript classes and prototype methods.
Get a compare function for array to sort
Use logical properties and values in CSS
tiny util for getting and setting deep object props safely
Tests if a JSON property can be accessed using . syntax
A safer `.hasOwnProperty()`
Map of URL attributes in HTML
Like `extend` but only copies missing properties/values to the target object.
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.
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
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.
Processes each properties of an object deeply.
Recursively merge values in a javascript object.
Define a non-enumerable read-only property.
Test if an object has a specified property.
Define (or modify) an object property.
Sort an array on an object property
Get a property from an object using dot (object path) notation.
Like `Object.keys()` but also includes symbols
Given an object and a property, replaces a property descriptor (or deletes it), and returns a thunk to restore it.
Does a JS type have a property
Shallow clones an object while respecting the original property descriptors
List of getter/setter properties for JavaScript types
List of properties for JavaScript objects
Map of HTML elements to allowed attributes
Map of SVG elements to allowed attributes
Similar to assign-value but deeply merges object values or nested values using object path/dot notation.
Provides a list of reserved identifiers for JavaScript
Check if a string is a valid JavaScript identifier
Minimal bi-directional object references for JavaScript
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.'
Enforce usage of logical properties and values in CSS
Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.
Parse length and angle CSS values and convert between units
Client-side support for CSS custom properties (aka "CSS variables") in legacy and modern browsers
Access nested property values at any depth with a simple expression.
Lazily initialized properties for objects
Curried property accessor function that resolves deeply-nested object properties via dot/bracket-notation string path while mitigating TypeErrors via friendly and composable API.
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.
Convert string with bracket notation to dot property notation for Node.js and the browser.
Sort CSS declarations in a certain order.
Execute a method out from an object.
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.
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
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
Lazy evaluated property injection decorators for InversifyJS
Enforce usage of logical properties and values in CSS
Utility for modifying / processing the contents of Javascript objects or arrays via object notation strings or globs.
Get the textual position of a property in a JSON text
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.
List of prototype properties for JavaScript types
A safe, declarative way to influence the styles and attributes of nodes outside your app's tree.
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.
A dynamic JSON parser that isn't strict and can be customized.
The lodash method `_.property` exported as a module.
Expand a string into a JavaScript object using a simple notation. Use the CLI or as a node.js lib.
Just a helper for plucking a property out of an object.
Test if an object's own property is enumerable.
Define a non-enumerable read-only accessor.
hast utility to check if a property is an event handler
Immutable version of dot-prop with some extensions
A package for detecting all duplicated property keys of a JSON string.
Create property accessor/caller statements for dot paths
Define a read-only property.
Get a property from object
Map of info on enumerated attributes in HTML
Return a property descriptor for an object's own property.
a simple utility function for getting a value at a path from an object with all the usecases properly covered
🐡 Get, set, remove, and test for deeply nested properties
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!).
Encrypted model attributes in your favourite ORM.
get value by object property
A plugin to automatically generate properties (for example data attributes) for all JSX open tags, using user specified convention
Two way conversions between objects and dot/bracket notation
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).
Get the 'src' value from any string containing a src="" (embed, iframe, html, etc).
Creates an Object from a collection of key-value pairs or key-descriptor pairs.
PostCSS plugin for sass-like Map Function
Use dot notation to get properties from deeply nested object and array structures.
HTML5 HTMLElement.dataset ponyfill
Parsing and tokenizing attributes string
Generative property tests for Jasmine
Better `Object.defineProperty()`.
Check whether a given CSS property is the shorthand form
Set and get values on objects via dot-notation strings.
A decorator for watching property change
The hasNestedProperty method missing in Object. This module does not extend Object.
A fast pattern matcher on JavaScript object properties.
[![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
Inline SVGs in CSS. Supports SVG Fragments, SVG Parameters.
(fork of omit-empty) Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.
PostCss plugin to use CSS Custom Properties in at-rule @each, @for, @if, @else
Deep sort an object, no matter what the contents are.
Pluck nested properties from an object
Type-safe library for reading, writing, or checking, nested values of an object
Set nested values on an object using a dot path or custom separator
Use powerful dot notation (dot path + wildcard) to manipulate properties of JSON
Defines multiple object properties all at once, optionally with shared settings.
Sets the value at path of object.
Polyfill for window.location.origin
Creates an object composed of the picked object properties from a nested object using a dot path or custom separator
Utility for sorting object arrays on multiple properties
check RegExp ( regular expressions ) support
Safely get deep nested properties using dot notation
Retrieves a property only if hasOwnProperty() is true.
Get a property from a nested object using a dot path or custom separator
Get property value by dot notation
Apple Property List (plist) parsing & serializing of XML / Binary / JSON formats
Get a nested property
Randomised test property/data generation for NodeJS
expands expressions in object graphs
A small safe accessor that uses reduce to prevent 'Cannot read property of undefined' errors
Return a copy of an object without the given keys.
Define JavaScript object properties quickly with ES5 defaults
Filter an object values using glob patterns or with a `callback` function returns true.
Immutable, optimized and optionally typed path-based object property / array accessors with structural sharing
Use the opacity property in older Internet Explorer
A mixin for declaring property accessors
CLI tool to generate self-contained property fact sheet websites from JSON data, optimized for IPFS deployment
Define lazy properties on objects that are initialized once and only when accessed. Also known as a lazy initialization and cached/memoized getters.
Generates all possible objects (combinations of property values).
List of HTML event handler attributes.
A stylelint rule to disallow usage of unknown custom properties
💠 Recursive assign for objects, arrays and more
Filter the keys of an object using glob patterns.
Locale Property Resource Bundle Loader for Webpack
A spec-compliant as much as it could be, small, and tested ES6 Symbol implementation.
tiny util for making enumerable properties
Return a partial object copy containing only specified keys.
tiny util for getting and setting deep object props safely
Deep set a nested property.
A dynamic JSON parser that isn't strict and can be customized.
Return a partial object copy excluding specified keys.
Sort an array of JSON objects by a property
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
Deep get a nested property.
Access nested object properties via strings
Extract front-matter header from files
Sort an array of objects based on a certain property supplied in path form
Validate the type of object's properties.
Get the vendors prefixes of a css properties, according to can i use datas.
Test if an object has a specified method name, either own or inherited.
Defines a read-only property.
Stringify any value to be used as the key of an object.
Makes your object properties hard.
Gets the current value of a style property for a given DOM element.
Assign a value to a property in an Array iterator
Turn any window method to a writable state in IE<=8
Parser and stringifier of `border` property
bind a property descriptor (value, getter and setter)
List of HTML event handler attributes
List of SVG event handler attributes
Convert content of a class instance to a string.
A simple and intuitive way to shim private methods and properties in JavaScript.
Easily use dot notation to `get`, or `set` a property of a nested object.
Deep-clone properties from one object to another and make them non-enumerable, or make existing properties on an object non-enumerable.
Simple property searches on your JavaScript objects.
A stylelint rule to disallow usage of unknown custom properties
get the property value from a nested object by using the dot path `a.b.c`
Assign a value or extend a deeply nested property of an object using object path notation.
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
Fetch, set, and test deeply nested object properties
StyleStats is a small library to collect CSS statistics!
Get, set, or delete a property from a nested object using a dot path refactored for typescript
A set of useful utility functions for JavaScript run-time type checking and inspection.
Set object values using property chaining syntax
Assign objects into groups by one or more properties, by object value, or by using a comparator function.
Getter-setter factory utility
unist utility to index property values or computed keys to nodes
Generate type safe dot paths to object properties based on an interface.
ES 2015 way of making private properties in class-based programming
make it easier to manage the properties/attributes of your class.
Returns an array of names from a module. Includes all enumerable properties with function values, own and inherited.
Delve recursively into a value to retrieve a property; without erroring.
set a new property in a js object and return the value of the given property
Test if an object has a specified property, either own or inherited.
Babel plugin that binds every class method to "this" with hot reload support
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
Parse a string of javascript to determine the context for functions, variables and comments based on the code that follows.
detect the properties in one lib
Generative property tests for Mocha
transition property detect
Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notation.
Property based testing for TypeScript
gets own enumerable property names and symbols
A function on the Object constructor that determines if a property is writable.
a tiny util to mix functions and properties into a prototype
Parameter validator makes it easy to verify that an object contains required, valid parameters.
Get and set object properties by path where you can specify the separator.
Determine type of property.
Harden properties of entity.
Array-like methods for objects
util for validation that object has defined props
JavaScript library and application to filter a JSON object by including and excluding properties.
Count object's keys.
Returns `true` if the value of an object's property is strictly true, or it's inverse is false.
Lookup object properties deeply.
Stylelint plugin for managing arbitrary properties. Includes Less and Sass support.
Reads/Writes CSS configuration of HTML components using centralized CSS variables.
PostCSS plugin enabling variable mapping for @each
🪄 Efficiently remove, replace, set or default object properties.
Get string name property of entity.
A utility to get the sub-schema from a JSON-schema from the path in an object
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.
Sets the value at path of object and array tree