UNPKG

html-version

Version:

parse and modify html versions according to the html version spec

4 lines (3 loc) 112 B
module.exports = function indent (str, sp) { return sp + str.split('\n').join('\n' + sp).replace(/ *$/, '') }