@averagemarcus/cat-pic

0.0.1 • Public • Published

cat-pic

Web Component to get a random cat picture from placekitten.com

Usage

  1. Include a script reference to the module:
<script type="module" src="https://unpkg.com/@averagemarcus/cat-pic?module"></script>
  1. Add a <cat-pic> element to your page
<cat-pic></cat-pic>
<cat-pic width="250px"></cat-pic>
<cat-pic height="150px"></cat-pic>
<cat-pic width="250px" height="100px"></cat-pic>

Contributions

Contributions welcome!

Found a bug? File an issue

Running locally

Once checked out:

  1. npm install
  2. npm run build
  3. npm run serve

Readme

Keywords

none

Package Sidebar

Install

npm i @averagemarcus/cat-pic

Weekly Downloads

1

Version

0.0.1

License

ISC

Unpacked Size

76.5 kB

Total Files

6

Last publish

Collaborators

  • averagemarcus