ipfs-http-response
Advanced tools
Comparing version 3.0.5-a05695fc.0 to 4.0.0
{ | ||
"name": "ipfs-http-response", | ||
"version": "3.0.5-a05695fc.0", | ||
"version": "4.0.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.5-a05695fc.0", | ||
"ipfsd-ctl": "^11.0.0", | ||
"ipfs-core": "^0.16.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": "06da5952a6d61e890ae37d305b99a5f174a1555d" | ||
"browser": { | ||
"file-type": "file-type/browser", | ||
"fs": false | ||
}, | ||
"gitHead": "89aeaf8e25320276391653104981e37a73f29de9" | ||
} |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
81
227338
21
1
80
1220
+ Added@chainsafe/is-ip@2.0.2(transitive)
+ Added@chainsafe/netmask@2.0.0(transitive)
+ Added@leichtgewicht/ip-codec@2.0.5(transitive)
+ Added@libp2p/interface-peer-id@2.0.2(transitive)
+ Added@libp2p/logger@2.1.1(transitive)
+ Added@multiformats/dns@1.0.6(transitive)
+ Added@multiformats/multiaddr@12.3.1(transitive)
+ Added@types/dns-packet@5.6.5(transitive)
+ Added@types/node@22.9.0(transitive)
+ Addeddns-packet@5.6.1(transitive)
+ Addedeventemitter3@5.0.1(transitive)
+ Addedfilesize@9.0.11(transitive)
+ Addedhashlru@2.3.0(transitive)
+ Addedinterface-datastore@8.3.1(transitive)
+ Addedinterface-store@6.0.2(transitive)
+ Addedit-reader@6.0.4(transitive)
+ Addedit-stream-types@2.0.2(transitive)
+ Addedmultiformats@11.0.213.3.1(transitive)
+ Addedp-queue@8.0.1(transitive)
+ Addedp-timeout@6.1.3(transitive)
+ Addedprogress-events@1.0.1(transitive)
+ Addeduint8-varint@2.0.4(transitive)
+ Addeduint8arraylist@2.4.8(transitive)
+ Addeduint8arrays@5.1.0(transitive)
+ Addedundici-types@6.19.8(transitive)
- Removed@fastify/busboy@2.1.1(transitive)
- Removed@libp2p/interfaces@2.0.4(transitive)
- Removed@libp2p/logger@1.1.6(transitive)
- Removed@multiformats/multiaddr@10.5.0(transitive)
- Removedclone-regexp@3.0.0(transitive)
- Removedconvert-hrtime@5.0.0(transitive)
- Removeddns-over-http-resolver@2.1.3(transitive)
- Removederr-code@3.0.1(transitive)
- Removedfilesize@8.0.7(transitive)
- Removedfunction-timeout@0.1.1(transitive)
- Removedinterface-datastore@6.1.1(transitive)
- Removedinterface-store@2.0.2(transitive)
- Removedip-regex@5.0.0(transitive)
- Removedis-ip@5.0.1(transitive)
- Removedis-regexp@3.1.0(transitive)
- Removedit-pushable@2.0.2(transitive)
- Removedit-reader@5.0.2(transitive)
- Removedit-stream-types@1.0.5(transitive)
- Removedmultiformats@9.9.0(transitive)
- Removednanoid@3.3.7(transitive)
- Removednative-fetch@4.0.2(transitive)
- Removedreceptacle@1.3.2(transitive)
- Removedsuper-regex@0.2.0(transitive)
- Removedtime-span@5.1.0(transitive)
- Removeduint8arraylist@1.6.0(transitive)
- Removeduint8arrays@3.1.1(transitive)
- Removedundici@5.28.4(transitive)
- Removedvarint@6.0.0(transitive)
Updated@libp2p/logger@^2.0.0
Updatedfilesize@^9.0.11
Updatedit-reader@^6.0.1