node-plop
programmatic plopping for fun and profit
Last updated 5 days ago by crutchcorn .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install node-plop 
SYNC missed versions from official npm registry.

Node-Plop

npm CircleCI

This is an early publication of the plop core logic being removed from the CLI tool. Main purpose for this is to make it easier for others to automate code generation through processes and tools OTHER than the command line. This also makes it easier to test the code functionality of PLOP without needing to test via the CLI interface.

Once I feel comfortable that this code functions as it should. I'll be driving the plop CLI tool using node-plop.

const nodePlop = require('node-plop');
// load an instance of plop from a plopfile
const plop = nodePlop(`./path/to/plopfile.js`);
// get a generator by name
const basicAdd = plop.getGenerator('basic-add');

// run all the generator actions using the data specified
basicAdd.runActions({name: 'this is a test'}).then(function (results) {
  // do something after the actions have run
});

Current Tags

  • 0.26.0                                ...           latest (5 days ago)

35 Versions

  • 0.26.0                                ...           5 days ago
  • 0.25.0                                ...           3 months ago
  • 0.24.0                                ...           3 months ago
  • 0.23.0                                ...           7 months ago
  • 0.22.0                                ...           7 months ago
  • 0.21.0                                ...           7 months ago
  • 0.20.0                                ...           7 months ago
  • 0.19.0                                ...           a year ago
  • 0.18.0                                ...           a year ago
  • 0.17.4                                ...           a year ago
  • 0.17.3                                ...           a year ago
  • 0.17.2                                ...           a year ago
  • 0.17.1                                ...           a year ago
  • 0.17.0                                ...           a year ago
  • 0.16.0                                ...           2 years ago
  • 0.15.0                                ...           2 years ago
  • 0.13.0                                ...           2 years ago
  • 0.12.0                                ...           2 years ago
  • 0.9.0                                ...           3 years ago
  • 0.8.0                                ...           3 years ago
  • 0.7.1                                ...           3 years ago
  • 0.7.0                                ...           3 years ago
  • 0.6.0                                ...           3 years ago
  • 0.5.5                                ...           3 years ago
  • 0.5.4                                ...           3 years ago
  • 0.5.3                                ...           3 years ago
  • 0.5.2                                ...           4 years ago
  • 0.5.1                                ...           4 years ago
  • 0.5.0                                ...           4 years ago
  • 0.4.2                                ...           4 years ago
  • 0.4.1                                ...           4 years ago
  • 0.4.0                                ...           4 years ago
  • 0.3.0                                ...           4 years ago
  • 0.2.0                                ...           4 years ago
  • 0.0.1                                ...           4 years ago
Maintainers (1)
Downloads
Today 1,370
This Week 3,052
This Month 31,645
Last Day 1,682
Last Week 9,453
Last Month 38,798
Dependencies (11)
Dependents (94)

Copyright 2014 - 2017 © taobao.org |