prompt-sync
Advanced tools
Comparing version 4.0.3 to 4.0.4
{ | ||
"name": "prompt-sync", | ||
"version": "4.0.3", | ||
"version": "4.0.4", | ||
"description": "a synchronous prompt for node.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -82,5 +82,5 @@ # SYNOPSIS | ||
//basic: | ||
console.log(require('prompt')()('tell me something about yourself: ')) | ||
console.log(require('prompt-sync')()('tell me something about yourself: ')) | ||
var prompt = require('prompt')({ | ||
var prompt = require('prompt-sync')({ | ||
history: require('prompt-sync-history')(), | ||
@@ -87,0 +87,0 @@ autocomplete: complete(['hello1234', 'he', 'hello', 'hello12', 'hello123456']), |
11900
193921