removeredundanttabs

0.1.2 • Public • Published

Remove redundant tabs for template string

const remove = require('removeredundanttabs');
const str = `
            Do something.
            Show some tips if needed.
            Done.
`;
console.log(remove(str));

Result

Do something.
Show some tips if needed.
Done.

Readme

Keywords

none

Package Sidebar

Install

npm i removeredundanttabs

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

1.55 kB

Total Files

4

Last publish

Collaborators

  • owenluke