Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ipfs-node-server-static

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ipfs-node-server-static - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

1

index.js

@@ -8,3 +8,2 @@ var ipfs = require('ipfs-api')

exports = module.exports = function serveStatic(host, port, options) {
console.log("Setup")
if (!host || !port) {

@@ -11,0 +10,0 @@ throw new TypeError('host and port required')

5

package.json
{
"name": "ipfs-node-server-static",
"version": "1.0.1",
"version": "1.0.2",
"description": "Static file server middleware for ipfs",

@@ -13,2 +13,5 @@ "main": "index.js",

},
"keywords": [
"ipfs"
],
"author": "Travis Person <travis.person@gmail.com>",

@@ -15,0 +18,0 @@ "license": "MIT",

@@ -7,7 +7,8 @@ IPFS Middleware

Install
`npm install ipfs-node-server-static`
```
npm install ipfs-node-server-static
```
*Currently only allows no mount point for express*
Install

@@ -14,0 +15,0 @@ Express

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc