Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

clui

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clui - npm Package Compare versions

Comparing version 0.3.1 to 0.3.3

CHANGELOG.md

2

examples/progress.js

@@ -13,3 +13,3 @@ var CLI = require('../lib/clui.js'),

function drawProgress () {
process.stdout.write('\033[9A');
process.stdout.write('\x1b[9A');
var blankLine = new Line().fill().output();

@@ -16,0 +16,0 @@

{
"name": "clui",
"version": "0.3.1",
"version": "0.3.3",
"description": "A Node.js toolkit for drawing nice command line tables, gauges, spinners, and sparklines.",

@@ -5,0 +5,0 @@ "main": "./lib/clui",

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

clui
clui [![Changelog Status](https://changelogs.md/img/changelog-check-green.svg)](https://changelogs.md/github/nathanpeck/clui/)
=============

@@ -13,2 +13,4 @@

_October 8, 2014_ - Adding Line.contents() for fetching the contents of a line as a string.
_June 2, 2014_ - Fixed a crash caused by inability to locate the required trim helper in the latest version of cli-color. (And locked down the version of the cli-color dependency to stop this from ever happening again.) Also removed lodash as a dependency in favor of vanilla JS, to keep installs faster and smaller than ever.

@@ -37,3 +39,3 @@

* `addLine(Line)` - Put a `Line` object into the `LineBuffer`.
* `file()` - If you don't have enough lines in the buffer this will fill the rest of the lines
* `fill()` - If you don't have enough lines in the buffer this will fill the rest of the lines
with empty space.

@@ -110,2 +112,3 @@ * `output()` - Draw the `LineBuffer` to screen.

var clui = require('clui'),
clc = require('cli-color'),
Line = clui.Line;

@@ -221,3 +224,3 @@

* `start()` - Show the spinner on the screen.
* `update(statusMessage)` - Update the status message that follows the spinner.
* `message(statusMessage)` - Update the status message that follows the spinner.
* `stop()` - Erase the spinner from the screen.

@@ -231,3 +234,3 @@

```js
var CLI = require('../lib/clui.js'),
var CLI = require('clui'),
Spinner = CLI.Spinner;

@@ -234,0 +237,0 @@

Sorry, the diff of this file is not supported yet

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