@nexys/ipfs-infuria-client
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

client ipfs-infuria

npm version Build and Test Package Publish Code style Bundlephobia

Get started

import Client from '@nexys/ipfs-infuria-client';

const url = process.env.IPFS_URL || '';
const username = process.env.IPFS_CLIENT || '';
const password = process.env.IPFS_SECRET || '';

const client = new Client({ username, password, url });

export const main = async () => {
  const { cid } = await client.set('hello world');

  const r = await client.get(cid);

  return { cid, r };
};

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    0

Package Sidebar

Install

npm i @nexys/ipfs-infuria-client

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

8.96 kB

Total Files

8

Last publish

Collaborators

  • nexys