@koober/plop-doc
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

Plop Documentation plugin (@koober/plop-doc)

NPM Version License

PlopJS plugin for documentation

Installation

npm install --save-dev @koober/plop-doc

Usage

In the plopfile.js of your project

// @ts-check
const { PlopPlugin } = require('@koober/plop-plugin');
const { default: PlopDocument, defaultTemplates } = require('@koober/plop-doc');

module.exports = (
  /** @type {import('@koober/plop-plugin').PlopModule} */
  plop
) => {
  // apply
  PlopPlugin.apply(
    plop,
    // Combine all plugins
    PlopPlugin.compose(
      // ...other plugins
      PlopDocument(plop, {
        templates: defaultTemplates,
      })
      // ...other plugins
    )
  );
};

License

MIT © Julien Polo julien.polo@koober.com

Package Sidebar

Install

npm i @koober/plop-doc

Weekly Downloads

9

Version

1.0.4

License

MIT

Unpacked Size

39.9 kB

Total Files

35

Last publish

Collaborators

  • jarvis_koober
  • alexwf.koober
  • jpolo
  • alexandrech
  • avatar-koober