js-ipfs-swarm-key-gen

1.1.0 • Public • Published

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

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

Package Sidebar

Install

npm i js-ipfs-swarm-key-gen

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

2.72 kB

Total Files

6

Last publish

Collaborators

  • vandeurenglenn