# js-ipfs-swarm-key-gen

> swarm.key file generator for IPFS Private Network feature

Latest version **1.1.0** (published 2020-05-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install js-ipfs-swarm-key-gen
pnpm add js-ipfs-swarm-key-gen
yarn add js-ipfs-swarm-key-gen
bun add js-ipfs-swarm-key-gen
```

Provides the command `ipfs-swarm-key-gen`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2020-05-13 |
| First published | 2018-01-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Glenn Vandeuren |
| Maintainers | vandeurenglenn |
| Keywords | ipfs, swarm, private, key, gen |

## Links

- npm: https://www.npmjs.com/package/js-ipfs-swarm-key-gen
- Repository: https://github.com/vandeurenglenn/js-ipfs-swarm-key-gen
- Homepage: https://github.com/vandeurenglenn/js-ipfs-swarm-key-gen#readme
- Issues: https://github.com/vandeurenglenn/js-ipfs-swarm-key-gen/issues
- npm.io page: https://npm.io/package/js-ipfs-swarm-key-gen

## Dependencies (1)

- [randombytes](https://npm.io/package/randombytes.md) ^2.0.6

## Alternatives

- [cron](https://npm.io/package/cron.md) — 4.9M weekly downloads
- [@vercel/queue](https://npm.io/package/@vercel/queue.md) — 731.6K weekly downloads
- [create-sonicjs](https://npm.io/package/create-sonicjs.md) — 1.6K weekly downloads
- [@exellix/jobs-api](https://npm.io/package/@exellix/jobs-api.md) — 941 weekly downloads
- [@forwardimpact/libskill](https://npm.io/package/@forwardimpact/libskill.md) — 575 weekly downloads

## Recent versions

- 1.1.0 (latest) — 2020-05-13
- 1.0.1 — 2018-01-27
- 1.0.0 — 2018-01-27

## 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

---
_Source: https://npm.io/package/js-ipfs-swarm-key-gen · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
