metalsmith-prompt
A metalsmith plugin to prompt the user for series of answers and add them to the global metadata.
Last updated 12 years ago by ianstormtaylor .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install metalsmith-prompt 
SYNC missed versions from official npm registry.

metalsmith-prompt

A metalsmith plugin to prompt the user for series of answers and add them to the global metadata.

Installation

$ npm install metalsmith-prompt

Example

var prompt = require('metalsmith-prompt');

metalsmith.use(prompt({
  name: 'string',
  lucky: 'number',
  designer: 'boolean'
}));

Which will prompt the user like so:

        name: Ian
       lucky: 42
    designer? (y/n) y

License

MIT

Current Tags

  • 0.0.8                                ...           latest (12 years ago)

8 Versions

  • 0.0.8                                ...           12 years ago
  • 0.0.7                                ...           12 years ago
  • 0.0.6                                ...           12 years ago
  • 0.0.5                                ...           12 years ago
  • 0.0.4                                ...           12 years ago
  • 0.0.3                                ...           12 years ago
  • 0.0.2                                ...           12 years ago
  • 0.0.1                                ...           12 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
Dev Dependencies (2)
Dependents (2)

Copyright 2013 - present © cnpmjs.org | Home |