@dapp-stack/ipfs
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

@dapp-stack/ipfs

This package allows you to start/stop a local IPFS node.

Installation

# Yarn
yarn add @dapp-stack/ipfs

# NPM
npm install @dapp-stack/ipfs

Usage

import * as ipfs from "@dapp-stack/ipfs";

ipfs.start(true)
ipfs.stop(true)

If you call the function ipfs.start or ipfs.stop without any arguments, we will try to fetch the network from the environment file at:

environments/[DAPP_ENV].js

See: Environment for more detail.

/@dapp-stack/ipfs/

    Package Sidebar

    Install

    npm i @dapp-stack/ipfs

    Weekly Downloads

    1

    Version

    0.5.0

    License

    Apache-2.0

    Unpacked Size

    17.2 kB

    Total Files

    20

    Last publish

    Collaborators

    • john-solon