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
- destroy a stream if possible☆56Updated 8 months ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated 10 months ago
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆98Updated last year
- Check if a path is a file, directory, or symlink☆78Updated 9 months ago
- List of node.js builtin modules☆38Updated last year
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Get the auth token set for an npm registry☆35Updated 2 months ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago
- Simple RFC 6838 media type parser and formatter☆56Updated last year
- Check if the process is running as root user, for example, one started with `sudo`☆78Updated 2 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 9 months ago
- Modern version of duplexer2☆15Updated 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
- Check if a file path is a binary file☆44Updated last year
- Get the directory of globally installed packages and binaries☆75Updated last year
- Create a Vinyl file from an actual file☆41Updated 2 years ago
- Make a shallow clone of an object, array or primitive.☆29Updated 4 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
- Recursively flatten an array or arrays. This is the fastest implementation of array flatten.☆59Updated 3 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Updated 4 years ago
- Create a javascript regular expression for matching everything except for the given string.☆31Updated 7 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Check if a path is the current working directory☆19Updated 3 years ago
- Import a globally installed module☆58Updated last year
- ☆45Updated 2 years ago
- ES6-compliant shim for Object.is - differentiates between -0 and +0, and can compare to NaN.☆25Updated last year