jonschlinkert / repeat-stringLinks
Repeat the given string n times. Fastest implementation for repeating a string (2x faster than the native method)
☆50Updated 3 years ago
Alternatives and similar repositories for repeat-string
Users that are interested in repeat-string are comparing it to the libraries listed below
Sorting:
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated last year
- Check if the process is running as root user, for example, one started with `sudo`☆78Updated 3 years ago
- Detect the dominant newline character of a string☆55Updated last year
- 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
- Check if a path is a file, directory, or symlink☆78Updated 11 months ago
- Define a non-enumerable property on an object.☆21Updated 2 years ago
- Make a shallow clone of an object, array or primitive.☆29Updated 5 years ago
- List of node.js builtin modules☆38Updated last year
- timers module for browserify☆24Updated 6 months ago
- destroy a stream if possible☆54Updated 10 months ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 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
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 11 months ago
- Returns an array of unique values using strict equality for comparisons, maintaining the same order as the provided arrays.☆24Updated 4 years ago
- Returns an array with only the unique values from all given arrays using strict equality for comparisons.☆47Updated 3 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Updated 4 years ago
- Get the command from a shebang☆24Updated 3 years ago
- ES6-compliant shim for Object.is - differentiates between -0 and +0, and can compare to NaN.☆25Updated last year
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Object.keys shim☆45Updated 2 months ago
- ECMAScript "ToPrimitive" algorithm. Provides ES5 and ES6/ES2015 versions.☆22Updated 7 months ago
- Get the user home directory with fallback to the system temp directory☆30Updated 4 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Recursively flatten an array or arrays. This is the fastest implementation of array flatten.☆59Updated 3 years ago
- Like `new Map` but for older JavaScripts☆21Updated last year
- Snapdragon utility for creating a new AST node in custom code, such as plugins.☆25Updated 6 years ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Get the auth token set for an npm registry☆34Updated 5 months ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆35Updated 4 years ago