Plugin for http://usejsdoc.org/ for documenting bem enteties

Usage no npm install needed!

<script type="module">
  import jsdocBem from 'https://cdn.skypack.dev/jsdoc-bem';


JSDoc plugin for BEM

Plugin for JSDoc3 which extends it for JS code written using BEM methodology.


Write JSDoc config file with enabled plugin:

    "plugins": [

Path to plugin should be specified relatively to jsdoc binary directory.

Run using a command:

jsdoc -d console -t ./path/to/jsdoc-bem/templates/docjson -c ./path/to/conf.json <your files/directories>

Docs will be generated in form of structured JSON and will be printed to STDOUT. Example of output can be seen in output.EXAMPLE.json file.