@expo/simple-spinner

    1.0.2 • Public • Published

    Supper Simple Spinner for Node.js

    This is a supper simple spinner / activity indicator for Node.js. I've used it in a few console tools that I've written in Node.js, where I've wanted to show that there is activity and that the program isn't hung.

    NPM

    How Simple Is It?

    So simple it only has 3 functions.

    • start([interval in ms])
    • Obviously this starts the spinner. You can give it how quickly you want it to go through the sequence of characters. Defaults to 250ms.
    • stop()
    • I really shouldn't have to explain this one...
    • change_sequence(sequence)
    • Use this if you don't like the default spinning stick. Give it an array of strings like this [".", "o", "0", "@", "*"]

    Install

    npm i @expo/simple-spinner

    DownloadsWeekly Downloads

    12,627

    Version

    1.0.2

    License

    none

    Last publish

    Collaborators

    • schestakov
    • janicduplessis
    • wkozyra
    • barthec
    • quinlanj
    • sjchmiela
    • tsapeta
    • dsokal
    • esamelson
    • expoadmin
    • ide
    • brentvatne
    • nikki93
    • ccheever
    • terribleben
    • jesseruder
    • fson
    • evanbacon