# netpaste

> Copy and paste over the DHT.

Latest version **1.1.0** (published 2022-08-12) · ISC license · 0 weekly downloads

## Install

```sh
npm install netpaste
pnpm add netpaste
yarn add netpaste
bun add netpaste
```

Provides the command `netpaste`.

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2022-08-12 |
| First published | 2022-08-09 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 4 |
| Unpacked size | 5.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 8 |
| Maintainers | mafintosh, chm-diederichs |

## Links

- npm: https://www.npmjs.com/package/netpaste
- Repository: https://github.com/chm-diederichs/netpaste
- Homepage: https://github.com/chm-diederichs/netpaste#readme
- Issues: https://github.com/chm-diederichs/netpaste/issues
- npm.io page: https://npm.io/package/netpaste

## Dependencies (4)

- [b4a](https://npm.io/package/b4a.md) ^1.6.0
- [minimist](https://npm.io/package/minimist.md) ^1.2.6
- [sodium-native](https://npm.io/package/sodium-native.md) ^3.4.1
- [@hyperswarm/dht](https://npm.io/package/@hyperswarm/dht.md) ^6.2.1

## Recent versions

- 1.1.0 (latest) — 2022-08-12
- 1.0.0 — 2022-08-12
- 0.0.1 — 2022-08-09
- 0.0.0 — 2022-08-09

## README

# netpaste

Copy and paste over the DHT.

## Usage

```
# generate a seed
netpaate seed

# export default key
netpaste export
> default: abc..123

# import a key under test profile
netpaste import test 123..abc

# copy to default profile
netpaste copy 'hello, world!'

# paste from another profile
netpaste paste --profile test
> 'some other text...'
```

## API

#### `netpaste copy  <data>`

Copy data to the DHT.

#### `netpaste paste`

Paste data from the DHT.

#### `netpaste seed`

Generate a seed.

#### `netpaste import <profile> <key>`

Import a key to a given profile.

#### `netpaste export [profile]`

Export a key.

#### Options:

`--profile | -p`  -- specify a profile to use. defaults to `default`

Profile keys are stored to `~/.netpaste/<profile>`.

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