Make a shallow clone of an object, array or primitive.
☆31Sep 4, 2025Updated 5 months ago
Alternatives and similar repositories for shallow-clone
Users that are interested in shallow-clone are comparing it to the libraries listed below
Sorting:
- Copy static properties, prototype properties, and descriptors from one object to another☆15Dec 16, 2020Updated 5 years ago
- Map `visit` over an array of objects.☆17Jun 27, 2022Updated 3 years ago
- Create an object path (dot notation) from a list or array of strings.☆16Dec 31, 2020Updated 5 years ago
- Visit a method over the items in an object, or map visit over the objects in an array. This is an alternative approach to using extend or…☆20Dec 15, 2020Updated 5 years ago
- Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notati…☆24Jan 25, 2022Updated 4 years ago
- Define a non-enumerable property on an object.☆21Mar 14, 2023Updated 2 years ago
- A cache for managing namespaced sub-caches☆14Sep 4, 2021Updated 4 years ago
- Easily add plugin support to your node.js application.☆26Dec 14, 2020Updated 5 years ago
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆15Dec 30, 2025Updated 2 months ago
- Call the given method on each value in the given object.☆20Mar 14, 2023Updated 2 years ago
- Returns true if a value has the characteristics of a valid JavaScript data descriptor.☆21Dec 30, 2025Updated 2 months ago
- Utils for working with JavaScript classes and prototype methods.☆19Mar 14, 2023Updated 2 years ago
- Basic cache object for storing key-value pairs. Based on MapCache in Lo-dash 3.0☆20May 10, 2016Updated 9 years ago
- Extend object A with the properties of object B. node.js/javascript util.☆33Aug 7, 2021Updated 4 years ago
- Returns true if a string has an extglob☆23May 25, 2019Updated 6 years ago
- Answers the question: "can this value have keys?". Returns true if a value is any of the object types: array, regexp, plain object, funct…☆19Aug 20, 2021Updated 4 years ago
- Node.js path.dirname() ponyfill☆13Nov 13, 2021Updated 4 years ago
- abstract base class for hash-streams☆11Sep 23, 2025Updated 5 months ago
- Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Ex…☆23Feb 27, 2017Updated 9 years ago
- Utilities for the snapdragon parser/compiler.☆18Aug 12, 2020Updated 5 years ago
- Returns an array of unique values using strict equality for comparisons, maintaining the same order as the provided arrays.☆24Nov 5, 2020Updated 5 years ago
- Extend the properties from any number of objects onto the first object. Pass an empty object as the first arg to create a new object.☆14Mar 3, 2018Updated 7 years ago
- Assign the enumerable es6 Symbol properties from an object (or objects) to the first object passed on the arguments. Can be used as a sup…☆18Sep 14, 2018Updated 7 years ago
- Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.☆23Dec 16, 2020Updated 5 years ago
- Create nested getter properties and any intermediary dot notation (`'a.b.c'`) paths☆13Jun 18, 2021Updated 4 years ago
- Create an array by repeating the given string n times.☆19Apr 7, 2021Updated 4 years ago
- Return true if a file path contains the given path.☆17May 18, 2021Updated 4 years ago
- ☆19Dec 21, 2024Updated last year
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Oct 4, 2021Updated 4 years ago
- normalize a ranged value that wraps. ( i.e. angular range [0-360), where 400 === 40 and -20 === 340)☆18Mar 14, 2022Updated 3 years ago
- Returns true if a value exists, false if empty. Works with deeply nested values using object paths.☆26Mar 3, 2018Updated 7 years ago
- Like `extend` but only copies missing properties/values to the target object.☆17Apr 26, 2017Updated 8 years ago
- ☆11Apr 15, 2023Updated 2 years ago
- ☆12Apr 26, 2019Updated 6 years ago
- Delete nested properties from an object using dot notation.☆35Feb 11, 2022Updated 4 years ago
- Snapdragon utility for creating a new AST node in custom code, such as plugins.☆26Nov 24, 2018Updated 7 years ago
- node's assert.deepEqual algorithm except for the fact that (NaN === NaN) and (+0 !== -0).☆21Sep 4, 2021Updated 4 years ago
- The map of HTTP status codes from the builtin http module☆19Apr 21, 2022Updated 3 years ago
- ☆19Dec 21, 2024Updated last year