sindresorhus / responselike
A response-like object for mocking a Node.js HTTP response stream
☆36Updated 2 years ago
Alternatives and similar repositories for responselike:
Users that are interested in responselike are comparing it to the libraries listed below
- Strip the final newline character from a string/buffer☆36Updated 5 months ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- fs read and write streams based on minipass☆20Updated 9 months ago
- A better `Promise.race()`☆46Updated 2 years ago
- Get the default browser☆54Updated last year
- Check if a Buffer/Uint8Array is a GIF image☆28Updated 2 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Get the latest stable semver version from an array of versions☆47Updated 3 years ago
- Node.js releases data☆36Updated 2 weeks ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Recursively read a directory, blazing fast. Use with picomatch or micromatch to match globs.☆43Updated last year
- Check if a string matches the name of a Node.js builtin module☆59Updated last month
- Check if a file path is a binary file☆44Updated 11 months ago
- Detect whether a terminal emulator supports hyperlinks☆56Updated 2 months ago
- Check if a path is inside another path☆38Updated 2 years ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 8 months ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Regular expression for matching a shebang line☆46Updated 3 years ago
- Check if your code is running as an npm script☆55Updated 3 years ago
- Expand deeply nested values from an object, with support for advanced features☆17Updated 2 years ago
- Trim newlines from the start and/or end of a string☆48Updated 2 years ago
- Check if your package was installed globally☆70Updated last year
- Check if argv has a specific flag☆95Updated 3 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Check whether a request can be retried based on the `error.code`☆80Updated 3 years ago
- Get the version of a binary in semver format☆35Updated last year
- Import like with require but using await☆30Updated 3 years ago