1.0.4 • Published 3 years ago

@koober/plop-plugin v1.0.4

Weekly downloads
1,577
License
MIT
Repository
gitlab
Last release
3 years ago

Plop Documentation plugin (@koober/plop-plugin)

NPM Version License

PlopJS generic plugin interface

Installation

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

Usage

In the plopfile.js of your project

// @ts-check
// eslint-disable-next-line import/no-extraneous-dependencies
const { PlopPlugin } = require('@koober/plop-plugin');
const PlopDoc = require('@koober/plop-doc');

module.exports = (
  /** @type {import('@koober/plop-plugin').PlopModule} */
  plop
) => {
  // apply
  PlopPlugin.apply(
    plop,
    // Combine all plugins
    PlopPlugin.compose(
      PlopDoc.default(plop, {
        templates: {},
      }),
      // Custom plugin
      PlopPlugin.merge({
        generators: {
          // Put plugin here
        },
        helpers: {},
      })
    )
  );
};

License

MIT © Julien Polo julien.polo@koober.com

1.0.4

3 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

5 years ago

1.0.0

5 years ago

1.0.0-alpha.1

5 years ago