| 1 |
{ |
| 2 |
"_id": "readline2", |
| 3 |
"_rev": "5-712a06630f0dcacbdad62395b8380f5b", |
| 4 |
"name": "readline2", |
| 5 |
"description": "Readline Façade fixing bugs and issues found in releases 0.8 and 0.10", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "1.0.1" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"0.1.0": { |
| 11 |
"name": "readline2", |
| 12 |
"version": "0.1.0", |
| 13 |
"description": "Readline Façade fixing bugs and issues found in releases 0.8 and 0.10", |
| 14 |
"main": "index.js", |
| 15 |
"scripts": { |
| 16 |
"test": "mocha -R spec" |
| 17 |
}, |
| 18 |
"repository": { |
| 19 |
"type": "git", |
| 20 |
"url": "git://github.com/SBoudrias/readline2.git" |
| 21 |
}, |
| 22 |
"keywords": [ |
| 23 |
"cli", |
| 24 |
"terminal", |
| 25 |
"readline", |
| 26 |
"tty" |
| 27 |
], |
| 28 |
"author": { |
| 29 |
"name": "Simon Boudrias", |
| 30 |
"email": "[email protected]" |
| 31 |
}, |
| 32 |
"license": "MIT", |
| 33 |
"bugs": { |
| 34 |
"url": "https://github.com/SBoudrias/readline2/issues" |
| 35 |
}, |
| 36 |
"homepage": "https://github.com/SBoudrias/readline2", |
| 37 |
"dependencies": { |
| 38 |
"mute-stream": "0.0.4", |
| 39 |
"lodash": "~2.4.1", |
| 40 |
"chalk": "~0.4.0" |
| 41 |
}, |
| 42 |
"devDependencies": { |
| 43 |
"sinon": "~1.7.3" |
| 44 |
}, |
| 45 |
"_id": "[email protected]", |
| 46 |
"dist": { |
| 47 |
"shasum": "6a272ef89731225b448e4c6799b6e50d5be12b98", |
| 48 |
"tarball": "https://registry.npmjs.org/readline2/-/readline2-0.1.0.tgz" |
| 49 |
}, |
| 50 |
"_from": ".", |
| 51 |
"_npmVersion": "1.3.21", |
| 52 |
"_npmUser": { |
| 53 |
"name": "sboudrias", |
| 54 |
"email": "[email protected]" |
| 55 |
}, |
| 56 |
"maintainers": [ |
| 57 |
{ |
| 58 |
"name": "sboudrias", |
| 59 |
"email": "[email protected]" |
| 60 |
} |
| 61 |
], |
| 62 |
"directories": {} |
| 63 |
}, |
| 64 |
"0.1.1": { |
| 65 |
"name": "readline2", |
| 66 |
"version": "0.1.1", |
| 67 |
"description": "Readline Façade fixing bugs and issues found in releases 0.8 and 0.10", |
| 68 |
"scripts": { |
| 69 |
"test": "mocha -R spec" |
| 70 |
}, |
| 71 |
"repository": { |
| 72 |
"type": "git", |
| 73 |
"url": "https://github.com/SBoudrias/readline2" |
| 74 |
}, |
| 75 |
"keywords": [ |
| 76 |
"cli", |
| 77 |
"terminal", |
| 78 |
"readline", |
| 79 |
"tty", |
| 80 |
"ansi" |
| 81 |
], |
| 82 |
"author": { |
| 83 |
"name": "Simon Boudrias", |
| 84 |
"email": "[email protected]" |
| 85 |
}, |
| 86 |
"license": "MIT", |
| 87 |
"files": [ |
| 88 |
"index.js" |
| 89 |
], |
| 90 |
"dependencies": { |
| 91 |
"mute-stream": "0.0.4", |
| 92 |
"strip-ansi": "^2.0.1" |
| 93 |
}, |
| 94 |
"devDependencies": { |
| 95 |
"chalk": "^0.5.1", |
| 96 |
"mocha": "^2.1.0", |
| 97 |
"sinon": "^1.7.3" |
| 98 |
}, |
| 99 |
"gitHead": "a7299990e47e56d892e3a5e532b62f124110d3ee", |
| 100 |
"bugs": { |
| 101 |
"url": "https://github.com/SBoudrias/readline2/issues" |
| 102 |
}, |
| 103 |
"homepage": "https://github.com/SBoudrias/readline2", |
| 104 |
"_id": "[email protected]", |
| 105 |
"_shasum": "99443ba6e83b830ef3051bfd7dc241a82728d568", |
| 106 |
"_from": ".", |
| 107 |
"_npmVersion": "2.1.18", |
| 108 |
"_nodeVersion": "0.10.32", |
| 109 |
"_npmUser": { |
| 110 |
"name": "sboudrias", |
| 111 |
"email": "[email protected]" |
| 112 |
}, |
| 113 |
"maintainers": [ |
| 114 |
{ |
| 115 |
"name": "sboudrias", |
| 116 |
"email": "[email protected]" |
| 117 |
} |
| 118 |
], |
| 119 |
"dist": { |
| 120 |
"shasum": "99443ba6e83b830ef3051bfd7dc241a82728d568", |
| 121 |
"tarball": "https://registry.npmjs.org/readline2/-/readline2-0.1.1.tgz" |
| 122 |
}, |
| 123 |
"directories": {} |
| 124 |
}, |
| 125 |
"1.0.0": { |
| 126 |
"name": "readline2", |
| 127 |
"version": "1.0.0", |
| 128 |
"description": "Readline Façade fixing bugs and issues found in releases 0.8 and 0.10", |
| 129 |
"scripts": { |
| 130 |
"test": "mocha -R spec" |
| 131 |
}, |
| 132 |
"repository": { |
| 133 |
"type": "git", |
| 134 |
"url": "git+https://github.com/sboudrias/readline2.git" |
| 135 |
}, |
| 136 |
"keywords": [ |
| 137 |
"cli", |
| 138 |
"terminal", |
| 139 |
"readline", |
| 140 |
"tty", |
| 141 |
"ansi" |
| 142 |
], |
| 143 |
"author": { |
| 144 |
"name": "Simon Boudrias", |
| 145 |
"email": "[email protected]" |
| 146 |
}, |
| 147 |
"license": "MIT", |
| 148 |
"files": [ |
| 149 |
"index.js" |
| 150 |
], |
| 151 |
"dependencies": { |
| 152 |
"code-point-at": "^1.0.0", |
| 153 |
"is-fullwidth-code-point": "^1.0.0", |
| 154 |
"mute-stream": "^0.0.4" |
| 155 |
}, |
| 156 |
"devDependencies": { |
| 157 |
"chalk": "^0.5.1", |
| 158 |
"mocha": "^2.1.0", |
| 159 |
"sinon": "^1.7.3" |
| 160 |
}, |
| 161 |
"gitHead": "538bfdf4eae96e84500f62e883b46b4efb63b572", |
| 162 |
"bugs": { |
| 163 |
"url": "https://github.com/sboudrias/readline2/issues" |
| 164 |
}, |
| 165 |
"homepage": "https://github.com/sboudrias/readline2#readme", |
| 166 |
"_id": "[email protected]", |
| 167 |
"_shasum": "80ce163d27c5d94cadd9e293d4ed6325748893e8", |
| 168 |
"_from": ".", |
| 169 |
"_npmVersion": "2.11.2", |
| 170 |
"_nodeVersion": "0.12.5", |
| 171 |
"_npmUser": { |
| 172 |
"name": "sboudrias", |
| 173 |
"email": "[email protected]" |
| 174 |
}, |
| 175 |
"dist": { |
| 176 |
"shasum": "80ce163d27c5d94cadd9e293d4ed6325748893e8", |
| 177 |
"tarball": "https://registry.npmjs.org/readline2/-/readline2-1.0.0.tgz" |
| 178 |
}, |
| 179 |
"maintainers": [ |
| 180 |
{ |
| 181 |
"name": "sboudrias", |
| 182 |
"email": "[email protected]" |
| 183 |
} |
| 184 |
], |
| 185 |
"directories": {} |
| 186 |
}, |
| 187 |
"1.0.1": { |
| 188 |
"name": "readline2", |
| 189 |
"version": "1.0.1", |
| 190 |
"description": "Readline Façade fixing bugs and issues found in releases 0.8 and 0.10", |
| 191 |
"scripts": { |
| 192 |
"test": "mocha -R spec" |
| 193 |
}, |
| 194 |
"repository": { |
| 195 |
"type": "git", |
| 196 |
"url": "git+https://github.com/sboudrias/readline2.git" |
| 197 |
}, |
| 198 |
"keywords": [ |
| 199 |
"cli", |
| 200 |
"terminal", |
| 201 |
"readline", |
| 202 |
"tty", |
| 203 |
"ansi" |
| 204 |
], |
| 205 |
"author": { |
| 206 |
"name": "Simon Boudrias", |
| 207 |
"email": "[email protected]" |
| 208 |
}, |
| 209 |
"license": "MIT", |
| 210 |
"files": [ |
| 211 |
"index.js" |
| 212 |
], |
| 213 |
"dependencies": { |
| 214 |
"code-point-at": "^1.0.0", |
| 215 |
"is-fullwidth-code-point": "^1.0.0", |
| 216 |
"mute-stream": "0.0.5" |
| 217 |
}, |
| 218 |
"devDependencies": { |
| 219 |
"chalk": "^1.1.0", |
| 220 |
"mocha": "^2.1.0", |
| 221 |
"sinon": "^1.7.3" |
| 222 |
}, |
| 223 |
"gitHead": "32aa9851e2cbb0610364d5009165be6fb2fed4ef", |
| 224 |
"bugs": { |
| 225 |
"url": "https://github.com/sboudrias/readline2/issues" |
| 226 |
}, |
| 227 |
"homepage": "https://github.com/sboudrias/readline2#readme", |
| 228 |
"_id": "[email protected]", |
| 229 |
"_shasum": "41059608ffc154757b715d9989d199ffbf372e35", |
| 230 |
"_from": ".", |
| 231 |
"_npmVersion": "2.11.2", |
| 232 |
"_nodeVersion": "0.12.5", |
| 233 |
"_npmUser": { |
| 234 |
"name": "sboudrias", |
| 235 |
"email": "[email protected]" |
| 236 |
}, |
| 237 |
"dist": { |
| 238 |
"shasum": "41059608ffc154757b715d9989d199ffbf372e35", |
| 239 |
"tarball": "https://registry.npmjs.org/readline2/-/readline2-1.0.1.tgz" |
| 240 |
}, |
| 241 |
"maintainers": [ |
| 242 |
{ |
| 243 |
"name": "sboudrias", |
| 244 |
"email": "[email protected]" |
| 245 |
} |
| 246 |
], |
| 247 |
"directories": {} |
| 248 |
} |
| 249 |
}, |
| 250 |
"readme": "readline2 [](https://travis-ci.org/SBoudrias/readline2)\n=========\n\nNode.js (v0.8 and v0.10) had some bugs and issues with the default [Readline](http://nodejs.org/api/readline.html) module.\n\nThis module include fixes seen in later version (0.11-0.12 and iojs) and ease some undesirable behavior one could see using the readline to create interatives prompts. This means `readline2` change some behaviors and as so is **not** meant to be an exact drop-in replacement.\n\nThis project is extracted from the core of [Inquirer.js interactive prompt interface](https://github.com/SBoudrias/Inquirer.js) to be available as a standalone module.\n\n\nDocumentation\n-------------\n\n**Installation**: `npm install --save readline2`\n\n### readline2.createInterface(options); -> {Interface}\n\nPresent the same API as [Node.js `readline.createInterface()`](http://nodejs.org/api/readline.html)\n\n#### Improvements\n- Default `options.input` as `process.stdin`\n- Default `options.output` as `process.stdout`\n- `interface.stdout` is wrapped in a [MuteStream](https://github.com/isaacs/mute-stream)\n- Prevent `up` and `down` keys from moving through history inside the readline\n- Fix cursor position after a line refresh when the `Interface` prompt contains ANSI colors\n- Correctly return the cursor position when faced with implicit line returns\n\n\nLicense\n-------------\n\nCopyright (c) 2012 Simon Boudrias (twitter: [@vaxilart](https://twitter.com/Vaxilart))\nLicensed under the MIT license.\n", |
| 251 |
"maintainers": [ |
| 252 |
{ |
| 253 |
"name": "sboudrias", |
| 254 |
"email": "[email protected]" |
| 255 |
} |
| 256 |
], |
| 257 |
"time": { |
| 258 |
"modified": "2015-07-17T07:05:50.142Z", |
| 259 |
"created": "2014-02-01T05:17:15.686Z", |
| 260 |
"0.1.0": "2014-02-01T05:17:15.686Z", |
| 261 |
"0.1.1": "2015-01-21T06:55:37.493Z", |
| 262 |
"1.0.0": "2015-07-17T07:03:39.683Z", |
| 263 |
"1.0.1": "2015-07-17T07:05:50.142Z" |
| 264 |
}, |
| 265 |
"readmeFilename": "README.md", |
| 266 |
"homepage": "https://github.com/sboudrias/readline2#readme", |
| 267 |
"keywords": [ |
| 268 |
"cli", |
| 269 |
"terminal", |
| 270 |
"readline", |
| 271 |
"tty", |
| 272 |
"ansi" |
| 273 |
], |
| 274 |
"repository": { |
| 275 |
"type": "git", |
| 276 |
"url": "git+https://github.com/sboudrias/readline2.git" |
| 277 |
}, |
| 278 |
"author": { |
| 279 |
"name": "Simon Boudrias", |
| 280 |
"email": "[email protected]" |
| 281 |
}, |
| 282 |
"bugs": { |
| 283 |
"url": "https://github.com/sboudrias/readline2/issues" |
| 284 |
}, |
| 285 |
"license": "MIT", |
| 286 |
"_attachments": {} |
| 287 |
} |