Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

trim-leading-whitespace

mafintosh3270.1.1

trims leading whitespace of a stream

readme

trim-leading-whitespace

Through stream that trims leading whitespace

npm install trim-leading-whitespace

build status

Usage

var trim = require('trim-leading-whitespace');

process.stdin.pipe(trim()).pipe(process.stdout);

License

MIT