Turns a string into a JSDoc comment
ISC License
Turns a string into a JSDoc comment
const { stringToJsdocComment } = require('string-to-jsdoc-comment')
const comment = stringToJsdocComment('Here is some description.')
comment
is now
/**
* Here is some description.
*/
This method was extracted from @octokit/rest
. The original method was implemented by @gimenete.