responselike 4.x
Use responselike ^4.0.0 to construct a Node.js readable HTTP-like response with status, headers, body, and URL metadata.
- For
responselike@4.0.2- Verified
- 2026-09-08, 5 examples executed
- Package
@modootoday/pmcp-responselike@4.0.0
What it covers
- What this package provides
- Constructing a response
- Reading the body as a stream
- Piping
- v4 migration notes
- TypeScript surface
- Not covered
One example from this skill
This is the skill's own text, not a summary of it. It runs: that is what verifying means here.
import assert from 'node:assert/strict';
import Response from 'responselike';
const response = new Response({
statusCode: 200,
headers: {
'Content-Type': 'text/plain',
'X-Request-Id': 'abc123'
},
body: Buffer.from('Hi!'),
url: 'https://example.com'
});
assert.equal(response.statusCode, 200);
assert.deepEqual(response.headers, {
'content-type': 'text/plain',
'x-request-id': 'abc123'
});
assert.deepEqual(response.body, Buffer.from('Hi!'));
assert.equal(response.url, 'https://example.com');
What it did in the sandbox
Verifying this skill meant installing the package and running code against it with no route out. Nothing was observed. The full ledger lists every package examined, including the ones that never became a skill.
Nothing observed is not a finding of safety. It means one run, under one policy, produced nothing to report.
Getting it
With a subscription:
npx -y @modootoday/pmcp login
npx -y @modootoday/pmcp install @modootoday/pmcp-responselike
It installs as a dev dependency of your project, and the MCP server finds it there like any other skill.