jonschlinkert / shallow-clone
Make a shallow clone of an object, array or primitive.
☆29Updated 4 years ago
Alternatives and similar repositories for shallow-clone:
Users that are interested in shallow-clone are comparing it to the libraries listed below
- Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notati…☆24Updated 3 years ago
- Define a non-enumerable property on an object.☆21Updated 2 years ago
- Tests whether one path is inside another path☆41Updated 5 years ago
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆59Updated 9 months ago
- Like `extend` but only copies missing properties/values to the target object.☆17Updated 8 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Updated 4 years ago
- List of node.js builtin modules☆38Updated last year
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Create a Vinyl file from an actual file☆41Updated 2 years ago
- Turn an array like into an array☆12Updated 4 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 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.☆14Updated 7 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆45Updated 4 years ago
- Resolve a directory that is either local, global or in the user's home directory.☆14Updated 7 years ago
- Take a list of glob patterns and return an array of file locations, respecting `.gitignore` and allowing for ignore patterns via `packag…☆40Updated last year
- Returns true if a value exists, false if empty. Works with deeply nested values using object paths.☆26Updated 7 years ago
- Returns an array of unique values using strict equality for comparisons, maintaining the same order as the provided arrays.☆24Updated 4 years ago
- A module which will endeavor to guess your terminal's level of color support.☆24Updated 6 years ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 9 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…☆23Updated 8 years ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated 10 months ago
- normalize a ranged value that wraps. ( i.e. angular range [0-360), where 400 === 40 and -20 === 340)☆17Updated 3 years ago
- A cache for managing namespaced sub-caches☆14Updated 3 years ago
- Check if a path is the current working directory☆19Updated 3 years ago
- Object of "void elements" as defined by the WHATWG HTML Standard.☆25Updated 2 years ago
- Search & replace tokens during the linking stage of ICSS loading☆22Updated 2 years ago
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆66Updated 2 months ago
- Extract the username from a git remote origin URL.☆17Updated 7 years ago