NAME

    Alien::Plotly::Kaleido - Finds or installs plotly kaleido

VERSION

    version 0.003

SYNOPSIS

        use Alien::Plotly::Kaleido;
        use Config;
    
        if (Alien::Plotly::Kaleido->install_type eq 'share') {
            $ENV{PATH} = join(
                $Config{path_sep},
                Alien::Plotly::Kaleido->bin_dir,
                $ENV{PATH}
            );
    
            # get version
            my $version = Alien::Plotly::Kaleido->version;
        }
    
        # If install_type is not 'share' then it means kaleido
        # was detected from PATH when Alien::Plotly::Kaleido was installed.
        # So in either case now you has 'kaleido' in PATH.

DESCRIPTION

    This module finds plotly's kaleido <https://github.com/plotly/Kaleido>
    from your system, or installs it.

    It supports 3 OS platforms: Windows, Linux and OSX.

KALEIDO VERSION

    0.2.1

INSTALLATION

    By default if it cannot detect Kaleido from your environment, it will
    download Kaleido package from kaleido's github release page
    <https://github.com/plotly/Kaleido/releases>.

    If you want to install from a different url, or from locally downloaded
    zipball, you can use environment variable
    =ALIEN_PLOTLY_KALEIDO_DOWNLOAD_URL=. For example, to install from a
    local zipball,

        ALIEN_PLOTLY_KALEIDO_DOWNLOAD_URL=file:///your/local/kaleido/zip cpanm Alien::Plotly::Kaleido

SEE ALSO

    https://github.com/plotly/Kaleido

    Alien, Chart::Plotly

AUTHOR

    Stephan Loyd <sloyd@cpan.org>

CONTRIBUTOR

    Carlos D. Álvaro <github@cdalvaro.io>

COPYRIGHT AND LICENSE

    This software is copyright (c) 2020-2023 by Stephan Loyd.

    This is free software; you can redistribute it and/or modify it under
    the same terms as the Perl 5 programming language system itself.

