Socket
Socket
Sign inDemoInstall

ipfs-http-response

Package Overview
Dependencies
Maintainers
4
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ipfs-http-response - npm Package Compare versions

Comparing version 3.0.4 to 3.0.5-39dbf708.0

89

package.json
{
"name": "ipfs-http-response",
"version": "3.0.4",
"version": "3.0.5-39dbf708.0",
"description": "Creates an HTTP response from an IPFS Hash",
"leadMaintainer": "Vasco Santos <vasco.santos@moxy.studio>",
"main": "src/index.js",
"types": "dist/src/index.d.ts",
"author": "Vasco Santos <vasco.santos@moxy.studio>",
"license": "Apache-2.0 OR MIT",
"homepage": "https://github.com/ipfs/js-ipfs/tree/master/packages/ipfs-http-response#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/ipfs/js-ipfs.git"
},
"bugs": {
"url": "https://github.com/ipfs/js-ipfs/issues"
},
"keywords": [
"http",
"ipfs",
"response"
],
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
},
"type": "module",
"types": "./dist/src/index.d.ts",
"typesVersions": {

@@ -24,3 +42,14 @@ "*": {

},
"type": "module",
"files": [
"src",
"dist",
"!dist/test",
"!**/*.tsbuildinfo"
],
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./src/index.js"
}
},
"eslintConfig": {

@@ -32,7 +61,2 @@ "extends": "ipfs",

},
"exports": {
".": {
"import": "./src/index.js"
}
},
"scripts": {

@@ -46,30 +70,11 @@ "lint": "aegir lint",

},
"browser": {
"file-type": "file-type/browser",
"fs": false
},
"repository": {
"type": "git",
"url": "git+https://github.com/ipfs/js-ipfs-http-response.git"
},
"keywords": [
"ipfs",
"http",
"response"
],
"author": "Vasco Santos <vasco.santos@moxy.studio>",
"license": "MIT",
"bugs": {
"url": "https://github.com/ipfs/js-ipfs-http-response/issues"
},
"homepage": "https://github.com/ipfs/js-ipfs-http-response#readme",
"dependencies": {
"@libp2p/logger": "^1.1.4",
"@libp2p/logger": "^2.0.0",
"ejs": "^3.1.6",
"file-type": "^17.1.1",
"filesize": "^8.0.0",
"filesize": "^9.0.11",
"it-buffer": "^0.1.1",
"it-concat": "^2.0.0",
"it-map": "^1.0.6",
"it-reader": "^5.0.1",
"it-reader": "^6.0.1",
"it-to-stream": "^1.0.0",

@@ -84,18 +89,12 @@ "mime-types": "^2.1.30",

"get-stream": "^6.0.0",
"ipfs-core": "^0.15.4",
"ipfsd-ctl": "^11.0.0",
"ipfs-core": "^0.15.5-39dbf708.0",
"ipfsd-ctl": "^12.0.0",
"it-all": "^1.0.4",
"uint8arrays": "^3.0.0"
},
"contributors": [
"Vasco Santos <vasco.santos@moxy.studio>",
"Alex Potsides <alex@achingbrain.net>",
"Hector Sanjuan <code@hector.link>",
"Marcin Rataj <lidel@lidel.org>",
"André Cruz <andremiguelcruz@msn.com>",
"Irakli Gozalishvili <rfobic@gmail.com>",
"Alan Shaw <alan.shaw@protocol.ai>",
"Pedro Santos <pedro.santos@moxy.studio>"
],
"gitHead": "965f5a4e00254cee48fca2127d95209deaee09cf"
"browser": {
"file-type": "file-type/browser",
"fs": false
},
"gitHead": "a2f1f57d7993d04b2d19c3d7ecbeecc95a54d2ae"
}

@@ -1,18 +0,28 @@

# js-ipfs-http-response
# ipfs-http-response <!-- omit in toc -->
[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://protocol.ai)
[![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/)
[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)
[![standard-readme](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard)
[![ipfs.io](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io)
[![IRC](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)
[![Discord](https://img.shields.io/discord/806902334369824788?style=flat-square)](https://discord.gg/ipfs)
[![codecov](https://img.shields.io/codecov/c/github/ipfs/js-ipfs.svg?style=flat-square)](https://codecov.io/gh/ipfs/js-ipfs)
[![CI](https://img.shields.io/github/workflow/status/ipfs/js-ipfs/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/ipfs/js-ipfs/actions/workflows/js-test-and-release.yml)
> Creates an HTTP response from an IPFS Hash
### Installation
## Table of contents <!-- omit in toc -->
> npm install ipfs-http-response
- [Install](#install)
- [Usage](#usage)
- [Creating HTTP Response](#creating-http-response)
- [Using protocol-agnostic resolver](#using-protocol-agnostic-resolver)
- [License](#license)
- [Contribute](#contribute)
## Install
```console
$ npm i ipfs-http-response
```
## Usage
### Creating HTTP Response

@@ -42,3 +52,2 @@

```js

@@ -54,1 +63,20 @@ import { resolver } from 'ipfs-http-response'

![ipfs-http-response usage](docs/ipfs-http-response.png "ipfs-http-response usage")
## License
Licensed under either of
- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)
## Contribute
Contributions welcome! Please check out [the issues](https://github.com/ipfs/js-ipfs/issues).
Also see our [contributing document](https://github.com/ipfs/community/blob/master/CONTRIBUTING_JS.md) for more information on how we work, and about contributing in general.
Please be aware that all interactions related to this repo are subject to the IPFS [Code of Conduct](https://github.com/ipfs/community/blob/master/code-of-conduct.md).
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
[![](https://cdn.rawgit.com/jbenet/contribute-ipfs-gif/master/img/contribute.gif)](https://github.com/ipfs/community/blob/master/CONTRIBUTING.md)

Sorry, the diff of this file is not supported yet

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