strip-final-newline

Strip the final newline character from a string/buffer

MIT License

Downloads
201.1M
Stars
33
Committers
4

Bot releases are hidden (Show)

strip-final-newline - Latest Release

Published by sindresorhus 10 months ago

Breaking

  • Require Node.js 18 (#7) 077250c
  • When specifying a Uint8Array, the returned value is no longer copied. Learn more

Improvements

  • Improve performance for Uint8Array (#5) e6e647d
  • Add TypeScript types (#6) 13555b0

https://github.com/sindresorhus/strip-final-newline/compare/v3.0.0...v4.0.0

strip-final-newline -

Published by sindresorhus over 3 years ago

Breaking

  • Require Node.js 12 84716c6
  • This package is now pure ESM. Please read this.

https://github.com/sindresorhus/strip-final-newline/compare/v2.0.0...v3.0.0