Noteworthy Puppy Movies

    This package has been deprecated

    Author message:

    Please update your code to use @addasoft/album-art-component

    album-art-component

    2.2.0 • Public • Published

    Album art WebComponent

    Instead of having to know all different APIs for Artist and Album providers what about a webcomponent that does it for you?

    <!-- artist art -->
    <album-art artist="the gathering"></album-art>
    <!-- album art -->
    <album-art artist="the gathering" album="home"></album-art>

    Is all you need to fetch and display artist art for the awesome band the gathering. You can easily provide the width and height for the art by setting them in CSS

    album-art {
      width: 200px;
      height: 200px;
    }

    Yes it is that easy.

    Develop

    npm run start

    for a development build and

    npm run build

    to build a new distribution build.

    Add a new provider

    TODO: the idea is that we, the community, can add new art providers which will be discovered during the build process and all of them will be used till a proper image is found. For now though, surprise me with a pull request

    Keywords

    none

    Install

    npm i album-art-component

    DownloadsWeekly Downloads

    7

    Version

    2.2.0

    License

    MIT

    Unpacked Size

    2.54 MB

    Total Files

    37

    Last publish

    Collaborators

    • arielext