MCPcopy Index your code
hub / github.com/nodejs/node / oneTo5

Function oneTo5

test/parallel/test-stream-flatMap.js:12–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10const { createReadStream } = require('fs');
11
12function oneTo5() {
13 return Readable.from([1, 2, 3, 4, 5]);
14}
15
16{
17 // flatMap works on synchronous streams with a synchronous mapper

Callers 1

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…