sindresorhus / mimic-responseView external linksLinks
Mimic a Node.js HTTP response stream
☆61Nov 5, 2023Updated 2 years ago
Alternatives and similar repositories for mimic-response
Users that are interested in mimic-response are comparing it to the libraries listed below
Sorting:
- Clone a Node.js HTTP response stream☆32May 24, 2024Updated last year
- Decompress a HTTP response if needed☆75Oct 13, 2025Updated 4 months ago
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 2 years ago
- Check if a string is a scoped npm package name☆25Jul 9, 2022Updated 3 years ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- ES2015 Math.imul() ponyfill☆11Oct 30, 2023Updated 2 years ago
- Check if a value is an error constructor☆14Apr 7, 2021Updated 4 years ago
- Strip a substring from the start/end of a string☆23Jul 9, 2022Updated 3 years ago
- Regular expression for matching issue references☆49Sep 26, 2024Updated last year
- Parse and stringify file paths with line and column like `unicorn.js14`☆24Nov 22, 2025Updated 2 months ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated last week
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Check if an Array is sorted☆35Aug 11, 2021Updated 4 years ago
- Alphabetically sort an array of strings☆40Apr 9, 2021Updated 4 years ago
- Regular expression for matching scoped npm package names☆27Jul 9, 2022Updated 3 years ago
- Get all emails in a text file or stdin☆25Feb 2, 2026Updated last week
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Check if a value is a regular expression☆26Oct 31, 2021Updated 4 years ago
- Like String#replace(), but for buffers☆27Apr 28, 2025Updated 9 months ago
- CLI that opens a random photo of my cat Dofle☆74Oct 14, 2021Updated 4 years ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Use the browser Fetch API from the main process in Electron☆36May 1, 2024Updated last year
- Check if an Iterable is empty☆23Sep 14, 2025Updated 4 months ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated last week
- Check if the character represented by a given Unicode code point is fullwidth☆51Aug 31, 2025Updated 5 months ago
- Turn an object into a string of HTML attributes☆50Mar 30, 2023Updated 2 years ago
- Split a string at one or more indices☆25May 3, 2021Updated 4 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Oct 24, 2023Updated 2 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Apr 9, 2021Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Get the URL from a web shortcut file☆14Aug 14, 2021Updated 4 years ago
- Get a random property from an object☆15Jul 2, 2024Updated last year
- Get the arguments of a function, arrow function, generator function, async function☆54Oct 30, 2023Updated 2 years ago
- Node.js 0.12 util.debuglog() ponyfill☆20Oct 30, 2023Updated 2 years ago
- Break out of a promise chain☆24Apr 7, 2021Updated 4 years ago
- While a condition returns true, calls a function repeatedly, and then resolves the promise☆58Oct 16, 2024Updated last year