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 2 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- List of node.js builtin modules☆38Updated 9 months ago
- Strip redundant indentation and indent the string☆54Updated 3 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 6 years ago
- Define a non-enumerable property on an object.☆21Updated last year
- Find and load config from package.json, rc file or whatever format it is☆24Updated 2 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Updated 4 years ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- A module which will endeavor to guess your terminal's level of color support.☆24Updated 6 years ago
- Get the auth token set for an npm registry☆35Updated last month
- Turn an array like into an array☆12Updated 3 years ago
- Modern Buffer API polyfill without footguns☆26Updated 3 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Find the module object for something that was require()d☆26Updated last year
- Check if a path is the current working directory☆19Updated 3 years ago
- Like `extend` but only copies missing properties/values to the target object.☆17Updated 7 years ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 5 months ago
- An asynchronous middleware pattern☆27Updated last year
- Check if a file is executable☆31Updated 6 years 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 7 years ago
- A cache for managing namespaced sub-caches☆14Updated 3 years ago
- Create a Vinyl file from an actual file☆41Updated 2 years ago
- Clone and modify a RegExp instance☆22Updated 2 years ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated 6 months ago
- Find the closest babel config based on a directory☆13Updated 4 months ago
- Get the set npm registry URL☆53Updated 2 years ago
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14Updated 6 years ago
- Wait for any promise to be fulfilled☆55Updated 2 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