Wondering what’s next for npm?Check out our public roadmap! »

    log-symbols
    TypeScript icon, indicating that this package has built-in type declarations

    5.0.0 • Public • Published

    log-symbols

    Colored symbols for various log levels

    Includes fallbacks for Windows CMD which only supports a limited character set.

    Install

    $ npm install log-symbols
    

    Usage

    import logSymbols from 'log-symbols';
    
    console.log(logSymbols.success, 'Finished successfully!');
    // Terminals with Unicode support:     ✔ Finished successfully!
    // Terminals without Unicode support:  √ Finished successfully!

    API

    logSymbols

    info

    success

    warning

    error

    Related


    Get professional support for this package with a Tidelift subscription
    Tidelift helps make open source sustainable for maintainers while giving companies
    assurances about security, maintenance, and licensing for their dependencies.

    Install

    npm i log-symbols

    DownloadsWeekly Downloads

    21,229,428

    Version

    5.0.0

    License

    MIT

    Unpacked Size

    4.66 kB

    Total Files

    6

    Last publish

    Collaborators

    • avatar