温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/reference/node/readline/promises/ReadLineOptions/crlfDelay
点击访问原文链接

property crlfDelay | Node.js readline/promises module | Bun

property crlfDelay | Node.js readline/promises module | BunBuildDocsReferenceGuidesBlogDiscord/node:readline/promises/ReadLineOptions/crlfDelayPcrlfDelay

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/node:readline/promises/ReadLineOptions/crlfDelayPcrlfDelay

property

readline.promises.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 runner

Project

Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicense

Baked with ❤️ in San Francisco

We're hiring →

property crlfDelay | Node.js readline/promises 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).