Registry / serialization / ember-cli-deploy-progress

ember-cli-deploy-progress

JSON →
library1.3.0jsnpmunverified

Flexible ASCII progress bar for Node.js, forked from the popular 'progress' package by visionmedia with an added cursor feature for the last completion character. Current stable version is 1.3.0. Release cadence is low; this is a specialized fork maintained by the ember-cli-deploy organization. Key differentiators include support for custom tokens, a cursor character distinct from the completion character, and a render throttle option. Commonly used in CLI tools and download progress displays.

npm install ember-cli-deploy-progress
INSTALL
IMPORT
SIG · EMBER-CLI-DEPLOY-P
E
ember-cli-deploy-progress
serializationjavascriptv1.3.0
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ProgressBar
const ProgressBar = require('progress');
import ProgressBar from 'progress';
This package does not provide an ESM export; CommonJS require is the correct method.
ProgressBar (ESM via import)
import ProgressBar from 'progress'; // Requires Node >= 12 with 'type': 'module' or .mjs extension
import { ProgressBar } from 'progress';
Named import does not work because the module exports a single constructor function as default.
ProgressBar type (TypeScript)
import ProgressBar from 'progress'; // No built-in types; use @types/progress
const ProgressBar: ...
TypeScript users must install @types/progress for type definitions.

Creates a progress bar with total 10 ticks, updates every 100ms until complete.

const ProgressBar = require('progress'); const bar = new ProgressBar(':bar', { total: 10 }); const timer = setInterval(() => { bar.tick(); if (bar.complete) { console.log('\ncomplete\n'); clearInterval(timer); } }, 100);
Debug
Known issues
gotchaNode engines >= 0.4.0 specified; no longer supported in modern Node. May cause deprecation warnings.
fix
Use a more modern progress bar library or update to ember-cli-deploy-progress@1.3.0 (same engine range but Node 4+ works).
affects: >=0.4.0 <1.0.0
breakingThe 'cursor' option is added in this fork. It is not available in the original 'progress' package.
fix
If you rely on 'cursor', use this fork only. If you need compatibility with the original, remove 'cursor'.
affects: *
gotchaThe library does not automatically clear the progress bar on completion; you must set 'clear: true' option.
fix
Pass `{ clear: true }` in options if you want the bar to be cleared upon completion.
affects: *
gotchaCustom tokens passed to tick() are not validated; misspelled tokens will be silently ignored.
fix
Ensure token names match exactly the placeholders in the format string.
affects: *
deprecatedThe 'renderThrottle' option default is 16ms. Changing it may cause performance issues or flickering.
fix
Keep the default unless you experience specific rendering problems.
affects: *
Errors
Common errors & fixes
Error: Cannot find module 'progress'
Package not installed or not available in node_modules
fix
Run `npm install progress` (or `ember-cli-deploy-progress` if using the fork).
TypeError: bar.tick is not a function
ProgressBar not properly instantiated or bar is undefined
fix
Ensure you call `new ProgressBar(...)` and that `bar` is correctly assigned.
ReferenceError: ProgressBar is not defined
ProgressBar variable not imported/required
fix
Add `const ProgressBar = require('progress');` at top of file.
ProgressBar is not a constructor
Importing wrong export (e.g., using named import)
fix
Use default import: `import ProgressBar from 'progress'` (ESM) or `const ProgressBar = require('progress')` (CJS).
Upgrade
Version history
1.3.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
ember-cli-deploy-progress — npm install ember-cli-deploy-progress · libregistry