Detect the dominant newline character of a string
MIT License
Bot releases are hidden (Show)
https://github.com/sindresorhus/detect-newline/compare/v4.0.0...v4.0.1
https://github.com/sindresorhus/detect-newline/compare/v3.1.0...v4.0.0
https://github.com/sindresorhus/detect-newline/compare/v3.0.0...v3.1.0
Breaking:
undefined
instead of null
when no newline is found 446e98cEnhancements:
https://github.com/sindresorhus/detect-newline/compare/v2.1.0...v3.0.0