string-to-jsdoc-comment
Turns a string into a JSDoc comment
const stringToJsdocComment = const comment =
comment
is now
/** * Here is some description. */
Credit
This method was extracted from @octokit/rest
. The original method was implemented by @gimenete.