Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

ipfs-elements

1.0.1 • Public • Published

IPFS Elements

HTML elements you can use to display content from IPFS.

Usage:

<body>
  <script src="https://cdn.jsdelivr.net/npm/ipfs-elements@latest/dist/ipfs-elements.min.js"></script> 
  <ipfs-img
    api="/ip4/127.0.0.1/tcp/5001"
    src="/ipfs/QmW2WQi7j6c7UgJTarActp7tDNikE4B2qXtFCfLPdsgaTQ/cat.jpg">
  </ipfs-img>
</body>

Keywords

none

install

npm i ipfs-elements

Downloadsweekly downloads

5

version

1.0.1

license

Apache-2.0

repository

githubgithub

last publish

collaborators

  • avatar