jonschlinkert / repeat-string
Repeat the given string n times. Fastest implementation for repeating a string (2x faster than the native method)
☆49Updated 2 years ago
Related projects ⓘ
Alternatives and complementary repositories for repeat-string
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated 4 months ago
- List of node.js builtin modules☆38Updated 7 months ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 3 months ago
- Easily calculate the relative path from file A to file B in Node.js project. Will calculate correctly from a file to a directory, file to…☆34Updated last year
- Check if a path is the current working directory☆19Updated 3 years ago
- destroy a stream if possible☆56Updated 2 months ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 3 years ago
- Repeat a string - fast☆34Updated 3 years ago
- Define a non-enumerable property on an object.☆21Updated last year
- ES6-compliant shim for Object.is - differentiates between -0 and +0, and can compare to NaN.☆25Updated 8 months ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 3 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Recursively flatten an array or arrays. This is the fastest implementation of array flatten.☆60Updated 2 years ago
- timers module for browserify☆24Updated 3 years ago
- stream splicer with labels☆43Updated last year
- 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 6 years ago
- Offers convenient getters and setters for the fs.stat()'s `mode`☆50Updated 5 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Returns an array with only the unique values from all given arrays using strict equality for comparisons.☆46Updated 2 years ago
- Check if a path is a file, directory, or symlink☆75Updated 3 months ago
- Object.keys shim☆45Updated 2 years ago
- Get the auth token set for an npm registry☆35Updated 5 months ago
- Check if a protocol requires a certain port number to be added to an URL.☆11Updated last year
- Replaces a file extension with another one.☆46Updated last year
- Check if a file path is a binary file☆43Updated 6 months ago
- Returns an array of unique values using strict equality for comparisons, maintaining the same order as the provided arrays.☆25Updated 4 years ago
- Like `new Map` but for older JavaScripts☆21Updated last year