jsdoc-regex

1.0.1 • Public • Published

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]);

Readme

Keywords

Package Sidebar

Install

npm i jsdoc-regex

Weekly Downloads

13,224

Version

1.0.1

License

MIT

Last publish

Collaborators

  • neogeek