strip

Strip HTML Tags

Usage no npm install needed!

<script type="module">
  import strip from 'https://cdn.skypack.dev/strip';
</script>

README

strip Build Status

Strips HTML tags.

Install

$ npm install strip

Usage

strip('<p> Hello <a href="http://foo.com/?q=123">World</a> </p>');
// => Hello World