NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #1813 most downloaded on npm
A terminal based horizontal gauge
Last release 2 years ago
no release in 18 months
Ships unpredictably
gaps range from 3 weeks to 2.8 years
Unknown
no stable releases
40 versions withdrawn
withdrawn after publishing
12 years old
40 releases · first in 2015
d772b3b #239 linting: no-unused-vars ( @lukekarrys )
d772b3b #239 linting: no-unused-vars (@lukekarrys)c8aec3d #239 bump @npmcli/template-oss to 4.22.0 (@lukekarrys)54421e8 #239 postinstall for dependabot template-oss PR (@lukekarrys)ba82947 #238 bump @npmcli/template-oss from 4.21.3 to 4.21.4 (@dependabot[bot])One column per quarter.
88057a0 #199 bump signal-exit from 3.0.7 to 4.0.1
gauge is now compatible with the following semver range for node: ^14.17.0 || ^16.13.0 || >=18.0.0
gauge is now compatible with the following semver range for node: ^14.17.0 || ^16.13.0 || >=18.0.06f3535a #181 postinstall for dependabot template-oss PR (@lukekarrys)4.0.4 (2022-03-28) Bug Fixes fix always true condition
move demo.js to the docs folder
update color-support requirement from ^1.1.2 to ^1.1.3
BREAKING CHANGE: Drops support for Node v4, v6, v7 and v8
isEnabled method to allow introspection of the gauge's
"enabledness" as controlled by .enable() and .disable().enable/disable if the gauge
is already enabled or disabled respectively. This prevents leaking event
listeners, amongst other weirdness.enabled only if we have a tty. Users can always override
this by passing in the enabled option explicitly or by calling calling
gauge.enable()../console-strings.js into console-control-strings.signal-exit@3.0.0, which fixes a compatibility bug with the
node profiler.Themeset.getThemeNames).gauge.hide() as it is somtetimes necessary when
your terminal is interleaving output from multiple filehandles (ie, stdout
& stderr).hasUnicode, hasColor and
platform keys in order to override our guesses as to those values when
selecting a default theme from the themeset.process.stderr now).setWriteTo(stream[, tty]) to change the output stream and,
optionally, tty.signal-exit in our deps. <.< Thank you @KenanY for
finding this. Then I was lazy and made a new commit instead of using his
PR. Again, thank you for your patience @KenenY.has-color module proved too magic for my needs, making assumptions
as to which stream we write to and reading command line arguments.This is a major rewrite of the internals. Externally there are fewer changes:
show it may wate up to updateInterval ms before it
actually prints an update. You override this behavior with the
fixedFramerate option.ansiified stream, although it can be if you want (but we won't make
use of its special features).process.stdout wasn't a
tty. Now it always defaults to enabled. If you want the previous
behavior set the enabled option to process.stdout.isTTY.Gauge.unicode or Gauge.ascii) then
you'll need to change your code. You can get the equivalent of the latter
with:var themes = require('gauge/themes')
var unicodeTheme = themes(true, true) // returns the color unicode theme for your platform
The default themes no longer use any ambiguous width characters, so even
if you choose to display those as wide your progress bar should still
display correctly.BREAKING CHANGE: Drops support for Node v10 and non-LTS versions of v12 and v14
Nothing published for this version
* deps: object-assign@4.1.1
BREAKING CHANGE: Drops support for Node v4, v6, v7 and v8
Reset colors prior to ending a line, to eliminate flicker when a line is trucated between start and end color sequences.
Only create our onExit handler when we're enabled and remove it when we're disabled. This stops us from creating multiple onExit handlers when multipl
Use supports-color instead of has-color (as the module has been renamed)
Bug fix: Calls to show/pulse while the progress bar is disabled should still update our internal representation of what would be shown should it be en
New feature: Add new isEnabled method to allow introspection of the gauge's "enabledness" as controlled by .enable() and .disable().
isEnabled method to allow introspection of the gauge's
"enabledness" as controlled by .enable() and .disable().Bug fix: Don't run the code associated with enable/disable if the gauge is already enabled or disabled respectively. This prevents leaking event liste
enable/disable if the gauge
is already enabled or disabled respectively. This prevents leaking event
listeners, amongst other weirdness.Default to enabled only if we have a tty. Users can always override this by passing in the enabled option explicitly or by calling calling gauge.enabl
enabled only if we have a tty. Users can always override
this by passing in the enabled option explicitly or by calling calling
gauge.enable().Externalized ./console-strings.js into console-control-strings.
./console-strings.js into console-control-strings.Update to signal-exit@3.0.0, which fixes a compatibility bug with the node profiler.
signal-exit@3.0.0, which fixes a compatibility bug with the
node profiler.Add way to programmatically fetch a list of theme names in a themeset (Themeset.getThemeNames).
Themeset.getThemeNames).Add support for setting themesets on existing gauge objects.
gauge.hide() as it is somtetimes necessary when
your terminal is interleaving output from multiple filehandles (ie, stdout
& stderr).Fix a refactor bug in setTheme where it wasn't accepting the various types of args it should.
Add setTemplate & setTheme back in.
hasUnicode, hasColor and
platform keys in order to override our guesses as to those values when
selecting a default theme from the themeset.process.stderr now).setWriteTo(stream[, tty]) to change the output stream and,
optionally, tty.* Fix image in readme
All new themes API– reference themes by name and pass in custom themes and themesets (themesets get platform support autodetection done on them to sel
Got rid of ░ in the default platform, noUnicode, hasColor theme. Thanks to @yongtw123 for pointing out this had snuck in.
signal-exit in our deps. <.< Thank you @KenanY for
finding this. Then I was lazy and made a new commit instead of using his
PR. Again, thank you for your patience @KenenY.has-color module proved too magic for my needs, making assumptions
as to which stream we write to and reading command line arguments.This is a major rewrite of the internals. Externally there are fewer changes:
This is a major rewrite of the internals. Externally there are fewer changes:
show it may wate up to updateInterval ms before it
actually prints an update. You override this behavior with the
fixedFramerate option.ansiified stream, although it can be if you want (but we won't make
use of its special features).process.stdout wasn't a
tty. Now it always defaults to enabled. If you want the previous
behavior set the enabled option to process.stdout.isTTY.Gauge.unicode or Gauge.ascii) then
you'll need to change your code. You can get the equivalent of the latter
with:var themes = require('gauge/themes')
var unicodeTheme = themes(true, true) // returns the color unicode theme for your platform
The default themes no longer use any ambiguous width characters, so even
if you choose to display those as wide your progress bar should still
display correctly.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →