Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

Lead maintainer #37

Merged
merged 2 commits into from
May 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,29 @@ Peer Book JavaScript Implementation

> Peer Store for libp2p and IPFS
# Installation
## Lead Maintainer

## npm
[Pedro Teixeira](https://github.com/pgte)

## Table of Contents

soon™

## Installation

### npm

```sh
> npm i peer-book
```

## Node.JS, Browserify, Webpack
### Node.JS, Browserify, Webpack

```JavaScript
const PeerBook = require('peer-book')
```

## Browser: `<script>` Tag
### Browser: `<script>` Tag

Loading this module through a script tag will make the `PeerBook` obj available in the global namespace.

Expand Down
14 changes: 5 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
"version": "0.7.0",
"description": "Peer Store for libp2p and IPFS",
"main": "src/index.js",
"directories": {
"test": "test"
},
"leadMaintainer": "Pedro Teixeira <[email protected]>",
"scripts": {
"lint": "aegir lint",
"build": "aegir build",
Expand All @@ -22,15 +20,14 @@
"type": "git",
"url": "git+https://github.com/libp2p/js-peer-book.git"
},
"pre-commit": [
"pre-push": [
"lint",
"test"
],
"keywords": [
"IPFS",
"libp2p"
],
"author": "David Dias <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/libp2p/js-peer-book/issues"
Expand All @@ -39,15 +36,14 @@
"dependencies": {
"bs58": "^4.0.1",
"peer-id": "^0.10.7",
"peer-info": "^0.14.0"
"peer-info": "^0.14.1"
},
"devDependencies": {
"aegir": "^13.0.6",
"aegir": "^13.1.0",
"async": "^2.6.0",
"chai": "^4.1.2",
"dirty-chai": "^2.0.1",
"multiaddr": "^4.0.0",
"pre-commit": "^1.2.2"
"multiaddr": "^5.0.0"
},
"contributors": [
"David Dias <[email protected]>",
Expand Down