Regular expression for matching JSDoc comment blocks and the code below them.
npm install jsdoc-regex
> Regular expression for matching JSDoc comment blocks and the code below them.
``bash`
$ npm install jsdoc-regex --save
`javascript
const jsdocRegex = require('jsdoc-regex');
const methods = contents.match(jsdocRegex());
console.log(methods[0]);
``