how many pass through i can use node js code example

Example 1: nodejs create stream

const { Readable } = require("stream")

const readable = Readable.from(["input string"])

readable.on("data", (chunk) => {
  console.log(chunk) // will be called once with `"input string"`
})

Example 2: When you run JavaScript in a Node.Js application, elements in a Node.JS Stack actually executes the JavaScript:

When you run JavaScript in a Node.Js application, elements in a Node.JS Stack actually executes that JavaScript: