jsdoc-jsx

0.1.0 • Public • Published

A JSDoc plugin that automatically parses JSX source files with esprima before it is processed by JSDoc.

Installation

The jsdoc-jsx plugin can be installed using NPM.

npm install jsdoc-jsx --save-dev

Usage

To use plugin you should include the plugin module in the plugins array of JSDoc's configuration file.

{
    "plugins": ["jsdoc-jsx"]
}

Processing files with different extensions

By default, the plugin only processes files that have a .jsx extension. You could enable JSX processing for other file extensions by adding the following settings to your JSDoc configuration file:

{
    "plugins": ["jsdoc-jsx"],
    "jsx": {
        "extensions": ["js", "jsx"]
    }
}

Readme

Keywords

Package Sidebar

Install

npm i jsdoc-jsx

Weekly Downloads

223

Version

0.1.0

License

BSD-3-Clause

Last publish

Collaborators

  • ctumolosus