Skip to content

Latest commit

 

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loader

Easy loader for node.js console

Usage :

const Loader = require("loader-in-console")

Loader.startNameLoader(...params);

Loader.stop();

Iteration is time to wait for new iteration in milliseconds.

Examples :

//LOader with line of dots
const Loader = require("loader-in-console")

Loader.startDotsLine(1000, "Loading");
// Something (time 10 second)

Loader.stop();

// Return
// Loading..........

DOCS:

Loader.startDotsLine(time, text);
//paramas: Time to wait between each point, Text before points
//return: text...........
Loader.startSpinner(time);
//params: Time to wait between each step
//return: spinner(/)
Aphorism.start(time);
//params: Time to wait between each step
//return: one aforism after each time

About

Easy loader for node.js console

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages