Skip to content
This repository was archived by the owner on Jun 26, 2023. It is now read-only.

Commit 584a69b

Browse files
committed
feat: initial commit
0 parents  commit 584a69b

File tree

4 files changed

+113
-0
lines changed

4 files changed

+113
-0
lines changed

.gitignore

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
**/node_modules/
2+
**/*.log
3+
4+
# Coverage directory used by tools like istanbul
5+
.nyc_output
6+
7+
build
8+
dist
9+
10+
# Dependency directory
11+
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
12+
node_modules
13+
# Lock files
14+
package-lock.json

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2017 Protocol Labs Inc.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# JS Libp2p Interfaces
2+
3+
[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://protocol.ai)
4+
[![](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/)
5+
[![](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p)
6+
[![](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg)](https://discuss.libp2p.io)
7+
8+
> Contains test suites and interfaces you can use to implement the various components of libp2p.
9+
10+
## Interfaces
11+
12+
- [Connection](./connection)
13+
- [Content Routing](./content-routing)
14+
- [Peer Discovery](./peer-discovery)
15+
- [Peer Routing](./peer-routing)
16+
- [Stream Muxer](./stream-muxer)
17+
- [Transport](./transport)
18+
19+
### Origin Repositories
20+
21+
For posterity, here is a link to the original repositories for each of the interfaces (if they had one).
22+
- [Connection](https://github.com/libp2p/interface-connection)
23+
- [Content Routing](https://github.com/libp2p/interface-content-routing)
24+
- [Peer Discovery](https://github.com/libp2p/interface-peer-discovery)
25+
- [Peer Routing](https://github.com/libp2p/interface-peer-routing)
26+
- [Stream Muxer](https://github.com/libp2p/interface-stream-muxer)
27+
- [Transport](https://github.com/libp2p/interface-transport)
28+
29+
## Contribute
30+
31+
Feel free to join in. All welcome. Open an [issue](https://github.com/libp2p/js-interfaces/issues)!
32+
33+
This repository falls under the IPFS [Code of Conduct](https://github.com/ipfs/community/blob/master/code-of-conduct.md).
34+
35+
[![](https://cdn.rawgit.com/jbenet/contribute-ipfs-gif/master/img/contribute.gif)](https://github.com/ipfs/community/blob/master/contributing.md)
36+
37+
## License
38+
39+
MIT - Protocol Labs 2019

package.json

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"name": "libp2p-interfaces",
3+
"version": "0.0.1",
4+
"description": "Interfaces for JS Libp2p",
5+
"main": "src/index.js",
6+
"files": [
7+
"src",
8+
"dist"
9+
],
10+
"scripts": {
11+
"lint": "aegir lint",
12+
"build": "aegir build",
13+
"test": "aegir test",
14+
"test:node": "aegir test --target node",
15+
"test:browser": "aegir test --target browser",
16+
"release": "aegir release -t node -t browser",
17+
"release-minor": "aegir release --type minor -t node -t browser",
18+
"release-major": "aegir release --type major -t node -t browser"
19+
},
20+
"repository": {
21+
"type": "git",
22+
"url": "git+https://github.com/libp2p/js-interfaces.git"
23+
},
24+
"keywords": [
25+
"libp2p",
26+
"interface"
27+
],
28+
"author": "",
29+
"license": "MIT",
30+
"bugs": {
31+
"url": "https://github.com/libp2p/js-interfaces/issues"
32+
},
33+
"homepage": "https://github.com/libp2p/js-interfaces#readme",
34+
"dependencies": {
35+
},
36+
"devDependencies": {
37+
"aegir": "^20.4.1"
38+
}
39+
}

0 commit comments

Comments
 (0)