whitespace-remove

1.0.2 • Public • Published

whitespace-remove

NPM version build status Test coverage Downloads

Strip all whitespace from the given string. This is different from String.prototype.trim() which only removes whitespaces from the beginning and end of a string.

Installation

$ npm i --save whitespace-remove

Overview

var removeWhitespace = require('whitespace-remove');
 
removeWhitespace('foo\n bar\n');
// => 'foo\nbar\n'

License

MIT © Yoshua Wuyts

Versions

Current Tags

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

Version History

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

Package Sidebar

Install

npm i whitespace-remove

Weekly Downloads

2

Version

1.0.2

License

MIT

Last publish

Collaborators

  • yoshuawuyts