ipfs-message-port-protocol
Advanced tools
Comparing version
{ | ||
"name": "ipfs-message-port-protocol", | ||
"version": "0.12.2-00bd3dd0.0", | ||
"version": "0.12.2-051da161.0", | ||
"description": "IPFS client/server protocol over message port", | ||
"license": "Apache-2.0 OR MIT", | ||
"homepage": "https://github.com/ipfs/js-ipfs/tree/master/packages/ipfs-message-port-protocol#readme", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/ipfs/js-ipfs.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/ipfs/js-ipfs/issues" | ||
}, | ||
"keywords": [ | ||
"ipfs" | ||
], | ||
"homepage": "https://github.com/ipfs/js-ipfs/tree/master/packages/ipfs-message-port-protocol#readme", | ||
"bugs": "https://github.com/ipfs/js-ipfs/issues", | ||
"license": "(Apache-2.0 OR MIT)", | ||
"engines": { | ||
"node": ">=16.0.0", | ||
"npm": ">=7.0.0" | ||
}, | ||
"type": "module", | ||
"main": "src/index.js", | ||
"types": "dist/src/index.d.ts", | ||
"types": "./dist/src/index.d.ts", | ||
"typesVersions": { | ||
@@ -31,36 +40,38 @@ "*": { | ||
"files": [ | ||
"src", | ||
"dist", | ||
"src", | ||
"!dist/test", | ||
"!**/*.tsbuildinfo" | ||
], | ||
"eslintConfig": { | ||
"extends": "ipfs", | ||
"parserOptions": { | ||
"sourceType": "module" | ||
} | ||
}, | ||
"exports": { | ||
".": { | ||
"types": "./dist/src/index.d.ts", | ||
"import": "./src/index.js" | ||
}, | ||
"./block": { | ||
"types": "./src/block.d.ts", | ||
"import": "./src/block.js" | ||
}, | ||
"./cid": { | ||
"types": "./src/cid.d.ts", | ||
"import": "./src/cid.js" | ||
}, | ||
"./core": { | ||
"types": "./src/core.d.ts", | ||
"import": "./src/core.js" | ||
}, | ||
"./dag": { | ||
"types": "./src/dag.d.ts", | ||
"import": "./src/dag.js" | ||
}, | ||
"./error": { | ||
"types": "./src/error.d.ts", | ||
"import": "./src/error.js" | ||
} | ||
}, | ||
"browser": {}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/ipfs/js-ipfs.git" | ||
"eslintConfig": { | ||
"extends": "ipfs", | ||
"parserOptions": { | ||
"sourceType": "module" | ||
} | ||
}, | ||
@@ -80,3 +91,3 @@ "scripts": { | ||
"dependencies": { | ||
"ipfs-core-types": "^0.11.2-00bd3dd0.0", | ||
"ipfs-core-types": "^0.11.2-051da161.0", | ||
"multiformats": "^9.5.1" | ||
@@ -88,7 +99,3 @@ }, | ||
}, | ||
"engines": { | ||
"node": ">=15.0.0", | ||
"npm": ">=3.0.0" | ||
}, | ||
"gitHead": "5e5669eefa320838c4810adf62356b0039209ed2" | ||
"gitHead": "262c2c4e56b8de0c602251e9ea0ac3546fd2e28c" | ||
} |
# ipfs-message-port-protocol <!-- omit in toc --> | ||
[](http://protocol.ai) | ||
[](http://ipfs.io/) | ||
[](http://webchat.freenode.net/?channels=%23ipfs) | ||
[](https://travis-ci.com/ipfs/js-ipfs) | ||
[](https://codecov.io/gh/ipfs/js-ipfs) | ||
[](https://david-dm.org/ipfs/js-ipfs?path=packages/ipfs-message-port-protocol) | ||
[](https://github.com/feross/standard) | ||
[](http://ipfs.io) | ||
[](http://webchat.freenode.net/?channels=%23ipfs) | ||
[](https://discord.gg/ipfs) | ||
[](https://codecov.io/gh/ipfs/js-ipfs) | ||
[](https://github.com/ipfs/js-ipfs/actions/workflows/js-test-and-release.yml) | ||
> This package serves as a repository code shared between the core `ipfs-message-port-client` and the `ipfs-message-port-server` | ||
> IPFS client/server protocol over message port | ||
## Table of Contentens <!-- omit in toc --> | ||
## Table of contents <!-- omit in toc --> | ||
@@ -22,9 +20,9 @@ - [Install](#install) | ||
- [Callback](#callback) | ||
- [License](#license) | ||
- [Contribute](#contribute) | ||
- [License](#license) | ||
## Install | ||
```bash | ||
$ npm install --save ipfs-message-port-protocol | ||
```console | ||
$ npm i ipfs-message-port-protocol | ||
``` | ||
@@ -101,3 +99,2 @@ | ||
```js | ||
@@ -168,20 +165,31 @@ import { encodeIterable, decodeIterable } from 'ipfs-message-port-protocol/core') | ||
## License | ||
[structured cloning algorithm]:https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm | ||
[message channel]:https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel | ||
[MessagePort]:https://developer.mozilla.org/en-US/docs/Web/API/MessagePort | ||
[Transferable]:https://developer.mozilla.org/en-US/docs/Web/API/Transferable | ||
Licensed under either of | ||
[CID]:https://github.com/multiformats/js-cid | ||
- 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>) | ||
[async iterables]:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of | ||
## Contribute | ||
Contributions welcome. Please check out [the issues](https://github.com/ipfs/js-ipfs/issues). | ||
Contributions welcome! Please check out [the issues](https://github.com/ipfs/js-ipfs/issues). | ||
Check out 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). | ||
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. | ||
## License | ||
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). | ||
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fipfs%2Fjs-ipfs?ref=badge_large) | ||
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://github.com/ipfs/community/blob/master/CONTRIBUTING.md) | ||
[structured cloning algorithm]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm | ||
[message channel]: https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel | ||
[MessagePort]: https://developer.mozilla.org/en-US/docs/Web/API/MessagePort | ||
[Transferable]: https://developer.mozilla.org/en-US/docs/Web/API/Transferable | ||
[CID]: https://github.com/multiformats/js-cid | ||
[async iterables]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of |
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
38984
1.1%34
3.03%1
-50%193
4.32%1
Infinity%80
-20%