2.0.0 • Published 10 years ago

incite v2.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

incite

Simple, synchronous CLI prompt.

API

require('incite') => (question = '') => String => answer

Usage

var prompt = require('incite')

var name = prompt('...name? ')

console.log('howdydoodydiddlyooo ' + name)

Synchronous by Design

incite is synchronous on purpose - in a CLI like environment there's little need for a prompt to be asynchronous (unless we wanted to do something in the background, in which case incite doesn't match your requirements).

Credit

  • Sponsored by nearForm
2.0.0

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago