Socket
Socket
Sign inDemoInstall

readline-utils

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

readline-utils - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

6

index.js

@@ -11,5 +11,5 @@ 'use strict';

exports.createOptions = function(options) {
var opts = utils.extend({}, options);
opts.output = opts.output || utils.ttys.stdout;
opts.input = opts.input || utils.ttys.stdin;
var opts = utils.extend({terminal: true}, options);
opts.output = opts.output || process.stdout;
opts.input = opts.input || process.stdin;
return opts;

@@ -16,0 +16,0 @@ };

{
"name": "readline-utils",
"description": "Readline utils, for moving the cursor, clearing lines, creating a readline interface, and more.",
"version": "0.1.5",
"version": "0.1.6",
"homepage": "https://github.com/enquirer/readline-utils",
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
"contributors": [
"Brian Woodward <brian.woodward@gmail.com> (https://twitter.com/doowb)",
"Jon Schlinkert <jon.schlinkert@sellside.com> (http://twitter.com/jonschlinkert)"
"Brian Woodward (https://twitter.com/doowb)",
"Jon Schlinkert (http://twitter.com/jonschlinkert)"
],

@@ -28,15 +28,14 @@ "repository": "enquirer/readline-utils",

"dependencies": {
"arr-flatten": "^1.0.1",
"arr-flatten": "^1.0.3",
"cli-width": "^2.1.0",
"extend-shallow": "^2.0.1",
"get-value": "^2.0.6",
"is-number": "^2.1.0",
"is-windows": "^0.2.0",
"lazy-cache": "^2.0.1",
"mute-stream": "0.0.6",
"ttys": "0.0.3"
"is-number": "^3.0.0",
"is-windows": "^1.0.1",
"lazy-cache": "^2.0.2",
"mute-stream": "^0.0.7"
},
"devDependencies": {
"gulp-format-md": "^0.1.10",
"mocha": "^3.0.2"
"gulp-format-md": "^0.1.12",
"mocha": "^3.3.0"
},

@@ -43,0 +42,0 @@ "keywords": [

@@ -1,2 +0,2 @@

# readline-utils [![NPM version](https://img.shields.io/npm/v/readline-utils.svg?style=flat)](https://www.npmjs.com/package/readline-utils) [![NPM monthly downloads](https://img.shields.io/npm/dm/readline-utils.svg?style=flat)](https://npmjs.org/package/readline-utils) [![NPM total downloads](https://img.shields.io/npm/dt/readline-utils.svg?style=flat)](https://npmjs.org/package/readline-utils) [![Linux Build Status](https://img.shields.io/travis/enquirer/readline-utils.svg?style=flat&label=Travis)](https://travis-ci.org/enquirer/readline-utils)
# readline-utils [![NPM version](https://img.shields.io/npm/v/readline-utils.svg?style=flat)](https://www.npmjs.com/package/readline-utils) [![NPM monthly downloads](https://img.shields.io/npm/dm/readline-utils.svg?style=flat)](https://npmjs.org/package/readline-utils) [![NPM total downloads](https://img.shields.io/npm/dt/readline-utils.svg?style=flat)](https://npmjs.org/package/readline-utils) [![Linux Build Status](https://img.shields.io/travis/enquirer/readline-utils.svg?style=flat&label=Travis)](https://travis-ci.org/enquirer/readline-utils)

@@ -21,5 +21,2 @@ > Readline utils, for moving the cursor, clearing lines, creating a readline interface, and more.

<details>
<summary><strong>.createInterface</strong></summary>
### [.createInterface](index.js#L23)

@@ -33,7 +30,2 @@

</details>
<details>
<summary><strong>.up</strong></summary>
### [.up](index.js#L39)

@@ -48,7 +40,2 @@

</details>
<details>
<summary><strong>.down</strong></summary>
### [.down](index.js#L52)

@@ -63,7 +50,2 @@

</details>
<details>
<summary><strong>.left</strong></summary>
### [.left](index.js#L65)

@@ -78,7 +60,2 @@

</details>
<details>
<summary><strong>.right</strong></summary>
### [.right](index.js#L78)

@@ -93,7 +70,2 @@

</details>
<details>
<summary><strong>.move</strong></summary>
### [.move](index.js#L97)

@@ -117,7 +89,2 @@

</details>
<details>
<summary><strong>.auto</strong></summary>
### [.auto](index.js#L117)

@@ -139,7 +106,2 @@

</details>
<details>
<summary><strong>.clearAfter</strong></summary>
### [.clearAfter](index.js#L143)

@@ -154,7 +116,2 @@

</details>
<details>
<summary><strong>.clearScreen</strong></summary>
### [.clearScreen](index.js#L156)

@@ -169,7 +126,2 @@

</details>
<details>
<summary><strong>.lastLine</strong></summary>
### [.lastLine](index.js#L169)

@@ -184,7 +136,2 @@

</details>
<details>
<summary><strong>.height</strong></summary>
### [.height](index.js#L181)

@@ -199,7 +146,2 @@

</details>
<details>
<summary><strong>.hideCursor</strong></summary>
### [.hideCursor](index.js#L193)

@@ -214,7 +156,2 @@

</details>
<details>
<summary><strong>.showCursor</strong></summary>
### [.showCursor](index.js#L206)

@@ -229,7 +166,2 @@

</details>
<details>
<summary><strong>.close</strong></summary>
### [.close](index.js#L219)

@@ -244,7 +176,2 @@

</details>
<details>
<summary><strong>.forceClose</strong></summary>
### [.forceClose](index.js#L240)

@@ -259,7 +186,2 @@

</details>
<details>
<summary><strong>.normalize</strong></summary>
### [.normalize](index.js#L254)

@@ -275,7 +197,2 @@

</details>
<details>
<summary><strong>.eraseLines</strong></summary>
### [.eraseLines](index.js#L314)

@@ -296,7 +213,2 @@

</details>
<details>
<summary><strong>.clearTrailingLines</strong></summary>
### [.clearTrailingLines](index.js#L337)

@@ -313,7 +225,2 @@

</details>
<details>
<summary><strong>.cursorPosition</strong></summary>
### [.cursorPosition](index.js#L355)

@@ -325,7 +232,2 @@

</details>
<details>
<summary><strong>.restoreCursorPos</strong></summary>
### [.restoreCursorPos](index.js#L365)

@@ -337,7 +239,2 @@

</details>
<details>
<summary><strong>.cliWidth</strong></summary>
### [.cliWidth](index.js#L382)

@@ -352,7 +249,2 @@

</details>
<details>
<summary><strong>.breakLines</strong></summary>
### [.breakLines](index.js#L401)

@@ -370,7 +262,2 @@

</details>
<details>
<summary><strong>.forceLineReturn</strong></summary>
### [.forceLineReturn](index.js#L421)

@@ -386,7 +273,2 @@

</details>
<details>
<summary><strong>.normalizeLF</strong></summary>
### [.normalizeLF](index.js#L440)

@@ -408,4 +290,2 @@

</details>
## Attribution

@@ -433,3 +313,3 @@

| --- | --- |
| 10 | [jonschlinkert](https://github.com/jonschlinkert) |
| 17 | [jonschlinkert](https://github.com/jonschlinkert) |
| 7 | [doowb](https://github.com/doowb) |

@@ -469,2 +349,2 @@

_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.5.0, on April 12, 2017._
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on May 05, 2017._

@@ -18,3 +18,2 @@ 'use strict';

require('mute-stream', 'MuteStream');
require('ttys');
require = fn;

@@ -21,0 +20,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc