newline-remove
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/newline-remove package

1.0.2 • Public • Published

newline-remove

NPM version build status Test coverage Downloads

Strip all newlines from the given string. Supports linux, osx and windows line endings.

Installation

$ npm i --save newline-remove

Overview

var removeNewline = require('newline-remove');
 
removeNewline('foo\n bar\n');
// => 'foo bar'

License

MIT © yoshuawuyts

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    403
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    403
  • 1.0.1
    0

Package Sidebar

Install

npm i newline-remove

Weekly Downloads

403

Version

1.0.2

License

MIT

Last publish

Collaborators

  • yoshuawuyts