jonschlinkert / repeat-string
Repeat the given string n times. Fastest implementation for repeating a string (2x faster than the native method)
☆49Updated 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
- Check if a path is a file, directory, or symlink☆78Updated 7 months ago
- Detect the dominant newline character of a string☆55Updated last year
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated 8 months ago
- List of node.js builtin modules☆38Updated 11 months ago
- destroy a stream if possible☆55Updated 6 months ago
- Check if the process is running with elevated privileges☆41Updated 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
- Check if the process is running as root user, for example, one started with `sudo`☆78Updated 2 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Check if a file path is a binary file☆44Updated 10 months ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Import a globally installed module☆58Updated last year
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Repeat a string - fast☆34Updated 3 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- Modern version of duplexer2☆15Updated 2 years ago
- ☆45Updated 2 years ago
- Get the auth token set for an npm registry☆35Updated last month
- Check if a string matches the name of a Node.js builtin module☆59Updated 3 weeks ago
- Offers convenient getters and setters for the fs.stat()'s `mode`☆50Updated 5 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years 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 2 years ago
- Define a non-enumerable property on an object.☆21Updated 2 years ago
- Check if a path is the current working directory☆19Updated 3 years ago
- Returns an array with only the unique values from all given arrays using strict equality for comparisons.☆46Updated 3 years ago
- Tests whether one path is inside another path☆41Updated 5 years ago
- A list of directories you should ignore by default☆23Updated 2 years ago
- Combines array of streams into one Readable stream in strict order.☆28Updated last year