Small helper function to remove extra leading whitespace caused by calling innerHTML on nested html nodes
Package: trim-extra-html-whitespace
Last modified: Mon, 27 Jun 2022 21:22:16 GMT
Version: 1.3.0
License: Apache-2.0
Downloads: 5,768
Install
npm install trim-extra-html-whitespace
yarn add trim-extra-html-whitespace
Note: This snippet uses CommonJS exports, we can UMD-ify it later if neccessary