strip-stars
Removes C-style comment stars from every line of the string.
Installation
npm install --save-dev strip-stars
Usage
import stripStars from 'strip-stars';
stripStars(`
* This is a description.
*
* ## Example
*
* ```js
* function hello() {
* console.log('Hi!');
* }
* ```
`);
// This is a description.
//
// ## Example
//
// ```js
// function hello() {
// console.log('Hi!');
// }
// ```
License
ISC