1.0.11 • Published 11 months ago

@asmartbear/status v1.0.11

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Status

Command-line status update system

Usage

// A new manager. Nothing happens yet.
const cm = new StatusManager();
// Start the status area, though still nothing is printed
cm.start()
// Update items by keys that you invent.  As you add unqiue ones, they are added
// and console space is allocated without overwriting existing console messages.
cm.update(2, "my status")
// Logging still works -- gets "prepended" before the status area
console.log("This doesn't overwrite anything.")
// Stop the status area; subsequent logging goes under it
cm.stop()

Development

Build:

npm run build

Unit tests:

npm run test

Unit tests, refreshed live:

npm run watch

Prepare for release (e.g. run tests and bump version number):

npm run release

Publish to npm:

npm publish
1.0.11

11 months ago

1.0.10

11 months ago

1.0.9

11 months ago

1.0.8

11 months ago

1.0.7

12 months ago

1.0.6

12 months ago

1.0.5

12 months ago

1.0.4

12 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago