Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    cli-loaderpublic

    cli-loader

    Install

    npm install cli-loader [--save|--save-dev]

    Example

    var loader = require('cli-loader')();
     
    loader.start();
     
    setTimeout(function() {
        loader.stop();
    }, 3000);

    Styled loader

    var loader = require('cli-loader')(opts);

    Where opts can be a string or a object with frames(an array of strings) and interval(a number) property.

    There are 4 built-in styled loaders:

    • `basic'(defualt)
    • basic-reverse
    • stack
    • arrow

    License

    MIT

    install

    npm i cli-loader

    Downloadsweekly downloads

    4

    version

    1.1.1

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar