1.0.2 • Published 8 years ago
strip-formatting v1.0.2
strip-formatting
var stripped = stripFormatting(val)
Removes leading whitespace from each line of input
- val (string) - The string to strip formatting from
const stripFormatting = require('strip-formatting')
stripFormatting(`
<html>
<head>
<title>whatever</title>
</head>
...
`)