🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

@tabcat/ipfs-serve

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tabcat/ipfs-serve

host a static directory over http and ipfs

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
3
50%
Maintainers
1
Weekly downloads
 
Created
Source

npm (scoped)

ipfs-serve

host a static directory over http and ipfs

Usage

install with npm:

npm install @tabcat/encrypted-docstore

use in an npm script:

// package.json
"scripts": {
  "serve": "ipfs-serve -r ./build"
}

Options:

  • -V, --version: output the version number
  • -d, --debug: output debug to console
  • -r, --repo : root directory of repo to host (default: "./build")
  • -i, --ipfs : ipfs daemon api address, falls back to a js-ipfs node (default: "js-ipfs")
  • -p, --port : port to host repo on http gateway (default: "3000")
  • --jrepo : specify directory of js-ipfs repo (default: process.cwd() + "/ipfs-serve")
  • --joffline: run js-ipfs offline
  • --no-http: do not host with http
  • --no-open: do not open in new browser tab
  • -h, --help: output usage information

Keywords

serve

FAQs

Package last updated on 27 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts