JSPM

  • Created
  • Published
  • Downloads 848434
  • Score
    100M100P100Q222317F
  • License ISC

Trimming string from all 4 sides

Package Exports

  • spacetrim

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (spacetrim) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

✂️ Space trim

Spacetrim is trimming string from all 4 sides

Usage

npm i spacetrim

const trimmed = spaceTrim(`
        
                Hello
                Space
                Trim
        
        
        `);

/*Hello
Space
Trim*/
console.log(trimmed);