sindresorhus / responselike
A response-like object for mocking a Node.js HTTP response stream
☆36Updated last year
Related projects ⓘ
Alternatives and complementary repositories for responselike
- Strip the final newline character from a string/buffer☆33Updated last week
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- fs read and write streams based on minipass☆21Updated 3 months ago
- Trim newlines from the start and/or end of a string☆48Updated last year
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆36Updated 2 years ago
- Get the default browser☆54Updated 10 months ago
- A better `Promise.race()`☆46Updated last year
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Check if a string matches the name of a Node.js builtin module☆58Updated 6 months ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Node.js releases data☆36Updated last week
- Expand deeply nested values from an object, with support for advanced features☆17Updated last year
- Turn an object into a string of HTML attributes☆49Updated last year
- An implementation of window.fetch in Node.js using Minipass streams☆54Updated last month
- Given an entrypoint, get all of the dependencies connected to it.☆30Updated last year
- Get the name of a Windows version from the release number: 5.1.2600 → XP☆41Updated 4 months ago
- Check if your package was installed globally☆70Updated last year
- Mimic a Node.js HTTP response stream☆59Updated last year
- Detect whether a terminal emulator supports hyperlinks☆54Updated 2 months ago
- ☆11Updated last year
- Get the version of a binary in semver format☆35Updated 7 months ago
- Nested/recursive `.gitignore`/`.npmignore` parsing and filtering.☆57Updated last month
- Clone a Node.js HTTP response stream☆29Updated 5 months ago
- Timeout HTTP/HTTPS requests☆52Updated 3 years ago
- Use `npx aud` instead of `npm audit`, whether you have a lockfile or not!☆26Updated 3 months ago
- programmatic API for the shiny new npm search endpoint☆25Updated 2 years ago
- Simple wildcard matching☆34Updated 3 years ago
- Check if your code is running as an npm script☆55Updated 3 years ago
- Check if a path is inside another path☆37Updated 2 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated 7 months ago