Have opinions about JavaScript? We want to hear them. Take the 2018 JavaScript Ecosystem Survey »

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

install

npm i jsdoc-regex

Downloadsweekly downloads

2,461

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability