strippy

the indentation you intended when you use multi-line templates

Downloads
4
Stars
4

strippy

the indentation you intended when you use multi-line templates

installation

npm install strippy

usage

let s = require('strippy')
console.log(s(`
  this
  is a
  multiline

  with
  double
  breaks
  preserved.
`))

// Outputs:
// this is a multiline
//
// with double breaks preserved.

License

MIT

Package Rankings
Top 10.72% on Npmjs.org