Skip to content

ncpa0/dynout

Repository files navigation

dynout

Dynamic output for terminal applications. - Easily update previously printed line.

Example

import { Output } from "dynout";

Output.line("This is a static line that will never change");

const dl = Output.dline("This line can be changed later");

// ... do something
Output.line("print other things");

dl.update(current => {
  return "Second line changed!";
));

dl.close(); // prevent any more changes to this line

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published