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
- 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
- Copy static properties, prototype properties, and descriptors from one object to another☆15Updated 4 years ago
- Check if a path is the current working directory☆19Updated 3 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Define a non-enumerable property on an object.☆21Updated 2 years ago
- List of node.js builtin modules☆38Updated 11 months ago
- 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
- Search & replace tokens during the linking stage of ICSS loading☆22Updated 2 years ago
- Create a Vinyl file from an actual file☆41Updated 2 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
- Give me a string and I'll tell you if it's a valid npm package license string☆27Updated 3 years ago
- Promises of copies of files, directories and symlinks, with concurrency controls and win32 junction fallback.☆18Updated 3 years ago
- Get the auth token set for an npm registry☆35Updated last month
- One promise for multiple requests in flight to avoid async duplication☆16Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 7 months ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated 8 months ago
- Turn an array like into an array☆12Updated 4 years ago
- Combines array of streams into one Readable stream in strict order.☆28Updated last year
- Tests whether one path is inside another path☆41Updated 5 years ago
- Strip the final newline character from a string/buffer☆36Updated 4 months ago
- Like `extend` but only copies missing properties/values to the target object.☆17Updated 7 years ago
- A cache for managing namespaced sub-caches☆14Updated 3 years ago
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆58Updated 7 months ago
- Get the command from a shebang☆23Updated 3 years ago
- Get the arguments of a function, arrow function, generator function, async function☆52Updated last year
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Cache requires to be lazy-loaded when needed. Uses node's own require system with tried and true, plain-vanilla JavaScript getters.☆51Updated 2 years ago
- easy cli logger☆15Updated last year
- Wait for any promise to be fulfilled☆54Updated 2 years ago