Converts CRLF ↔ LF line endings
npm install @thinice/normalize-line-endingsConverts CRLF ↔ LF line endings.
``bash`
npm install @thinice/normalize-line-endings
`typescript
import { normalizeLineEndings } from "@thinice/normalize-line-endings";
normalizeLineEndings("hello\r\nworld", "lf"); // "hello\nworld"
normalizeLineEndings("hello\nworld", "crlf"); // "hello\r\nworld"
``