babel-preset-jsdoc

0.4.1 • Public • Published

babel-preset-jsdoc NPM Version

Babel preset for latest jsdoc

Installation

npm install --save-dev babel-preset-jsdoc

Usage

Add the following line to your .babelrc file:

{
  "presets": ["jsdoc", "jsdoc/object-rest"]
}

Presets

Note: to support async functions and other proposals, you can add babel preset stage-1 or the stage you want.

/babel-preset-jsdoc/

    Package Sidebar

    Install

    npm i babel-preset-jsdoc

    Weekly Downloads

    5

    Version

    0.4.1

    License

    ISC

    Last publish

    Collaborators

    • churpeau