property crlfDelay | Node.js readline module | Bun
property crlfDelay | Node.js readline module | Bun
BuildDocsReferenceGuidesBlogDiscord/
node:readline/
ReadLineOptions/
crlfDelayPcrlfDelay
Search the reference...
/
BuildDocsReferenceGuidesBlogDiscord/
node:readline/
ReadLineOptions/
crlfDelayPcrlfDelay
property
readline.ReadLineOptions.crlfDelaycrlfDelay?: number
If the delay between \r and
exceeds crlfDelay milliseconds, both \r and
will be treated as separate end-of-line input. crlfDelay will be coerced to a number no less than 100. It can be set to Infinity, in which case \r followed by
will always be considered a single newline (which may be reasonable for reading files with \r
line delimiter).Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlog Toolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →
property crlfDelay | Node.js readline module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
If the delay between `\r` and `\n` exceeds `crlfDelay` milliseconds,
both `\r` and `\n` will be treated as separate end-of-line input.
`crlfDelay` will be coerced to a number no less than `100`.
It can be set to `Infinity`, in which case
`\r` followed by `\n` will always be considered a single newline
(which may be reasonable for [reading files](https://nodejs.org/docs/latest-v25.x/api/readline.html#example-read-file-stream-line-by-line) with `\r\n` line delimiter).