1.0.4 • Published 3 years ago
@koober/plop-doc v1.0.4
Plop Documentation plugin (@koober/plop-doc)
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
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.4
5 years ago
1.0.0-alpha.3
5 years ago
1.0.0-alpha.2
5 years ago