Removes indentation from multiline strings. Works with both tabs and spaces.
$ npm install dedent-js
// Dedent can be also used as a function.to;// Leading/trailing line break is removed.to;// No more than one leading/trailing line break is removed.to;// Only the "base" indentation is removed.to;// The last line is ignored if it doesn't contain anything else than whitespace.to;// Escaped characters are NOT ignored.to;
Copyright (c) 2015 Martin Kolárik. Released under the MIT license.