jonschlinkert / shallow-cloneLinks
Make a shallow clone of an object, array or primitive.
☆29Updated 5 years ago
Alternatives and similar repositories for shallow-clone
Users that are interested in shallow-clone are comparing it to the libraries listed below
Sorting:
- 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
- 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
- Get the auth token set for an npm registry☆34Updated 5 months ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Updated 4 years ago
- Search & replace tokens during the linking stage of ICSS loading☆22Updated 2 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆58Updated 11 months ago
- Tests whether one path is inside another path☆42Updated 5 years ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated last year
- normalize a ranged value that wraps. ( i.e. angular range [0-360), where 400 === 40 and -20 === 340)☆17Updated 3 years ago
- Node's domain module for the web browser☆32Updated last year
- Utils for working with JavaScript classes and prototype methods.☆19Updated 2 years ago
- One promise for multiple requests in flight to avoid async duplication☆16Updated 4 years ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 11 months ago
- Turn an array like into an array☆12Updated 4 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
- List of node.js builtin modules☆38Updated last year
- Extended globs. Add (almost) the expressive power of regular expressions to glob patterns.☆32Updated 4 years ago
- The map of HTTP status codes from the builtin http module☆19Updated 3 years ago
- Repeat the given string n times. Fastest implementation for repeating a string (2x faster than the native method)☆50Updated 3 years ago
- A cache for managing namespaced sub-caches☆14Updated 3 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 8 years ago
- Like `extend` but only copies missing properties/values to the target object.☆17Updated 8 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 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…☆19Updated 3 years ago
- Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.☆23Updated 4 years ago
- Returns true if a value exists, false if empty. Works with deeply nested values using object paths.☆26Updated 7 years ago
- Strip the final newline character from a string/buffer☆36Updated 8 months ago
- abstract base class for hash-streams☆11Updated 6 months ago