trim html tag from input
npm install trim-html-tag[![NPM version][npm-image]][npm-url]
[![Build Status][travis-image]][travis-url]
[![Coveralls Status][coveralls-image]][coveralls-url]
[![Dependency Status][depstat-image]][depstat-url]
> trim html tag from input
npm install --save trim-html-tag
``js
import trimTag from 'trim-html-tag';
trimTag('
trimP
\n'); // trimPstringified stay here\n'); // stringified stay here
trimTag(); // undefined ¯\_(ツ)_/¯
trimTag('some'); // some
`
#### input
Required
Type: String
One stringified HTML node, from which you want to trim the tag (e.g.
inside
or MIT © Vladimir Starkov
[npm-url]: https://npmjs.org/package/trim-html-tag
[npm-image]: https://img.shields.io/npm/v/trim-html-tag.svg?style=flat-square
[travis-url]: https://travis-ci.org/iamstarkov/trim-html-tag
[travis-image]: https://img.shields.io/travis/iamstarkov/trim-html-tag.svg?style=flat-square
[coveralls-url]: https://coveralls.io/r/iamstarkov/trim-html-tag
[coveralls-image]: https://img.shields.io/coveralls/iamstarkov/trim-html-tag.svg?style=flat-square
[depstat-url]: https://david-dm.org/iamstarkov/trim-html-tag
[depstat-image]: https://david-dm.org/iamstarkov/trim-html-tag.svg?style=flat-square