npm.io
1.0.1 • Published 9 years ago

jsdoc-regex

Licence
MIT
Version
1.0.1
Deps
0
Vulns
0
Weekly
0
Stars
5

jsdoc-regex

Regular expression for matching JSDoc comment blocks and the code below them.

Install

$ npm install jsdoc-regex --save

Usage

const jsdocRegex = require('jsdoc-regex');

const methods = contents.match(jsdocRegex());

console.log(methods[0]);

Keywords