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:
- Check if the process is running as root user, for example, one started with `sudo`☆78Updated 3 years ago
- Define a non-enumerable property on an object.☆21Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆58Updated last year
- destroy a stream if possible☆54Updated last year
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated last year
- Check if a path is a file, directory, or symlink☆78Updated last year
- Returns an array with only the unique values from all given arrays using strict equality for comparisons.☆46Updated 3 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
- 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
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated last year
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- Check if the process is running with elevated privileges☆41Updated 4 years ago
- Snapdragon utility for creating a new AST node in custom code, such as plugins.☆25Updated 6 years ago
- Make a shallow clone of an object, array or primitive.☆29Updated last week
- Repeat a string - fast☆34Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- A library of cross-platform tested terminal/console command strings for doing things like color and cursor positioning. This is a subset…☆30Updated 4 years ago
- 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
- Simple RFC 6838 media type parser and formatter☆56Updated last week
- Check if the character represented by a given Unicode code point is fullwidth☆49Updated last week
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆25Updated last year
- Return an array free of duplicate values. Very fast implementation.☆59Updated 4 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Updated 4 years ago
- Modern version of duplexer2☆15Updated 2 years ago
- Modern Buffer API polyfill without footguns☆26Updated 4 years ago
- Get the set npm registry URL☆56Updated 4 months ago
- ES2015 Number.isNaN() ponyfill☆28Updated last year
- Check if a path is the current working directory☆20Updated 4 months ago
- ☆36Updated last year