Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/VandeurenGlenn/js-ipfs-swarm-key-gen

swarm.key file generator for the IPFS Private Network feature
https://github.com/VandeurenGlenn/js-ipfs-swarm-key-gen

Last synced: 4 months ago
JSON representation

swarm.key file generator for the IPFS Private Network feature

Awesome Lists containing this project

README

        

# ipfs-swarm-key-gen
> swarm.key file generator for the IPFS Private Network feature

## Installation

### Npm
```
npm install js-ipfs-swarm-key-gen --save
```
### Yarn
```
yarn add js-ipfs-swarm-key-gen
```

#### Global
You can also install global for using the cli
```
npm install add js-ipfs-swarm-key-gen --global
```

```
yarn global add js-ipfs-swarm-key-gen
```

## Usage

### Node
```js
const generator = require('js-ipfs-swarm-key-gen');

generator().then(() => console.log('done'))
// or
generator('path/to/key').then(() => console.log('done'))
```
### cli
```
ipfs-swarm-key-gen path/to/key
```

## License

MIT