strip-tags
Strip specific tags from a string of HTML
npm
Install withnpm i strip-tags --save
Usage
var stripTags = ;var html = '<head> <link href="abc.css"> <script src="xyz"></script> </head>'; ;//=> '<head> <script src="xyz"></script> </head>' ;//=> '<head> </head>'
Run tests
Install dev dependencies:
node i -d && mocha
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Author
Jon Schlinkert
License
Copyright (c) 2015 Jon Schlinkert
Released under the MIT license
This file was generated by verb on January 18, 2015.