# privnote

> Unofficial Privnote.com Client for Node.js

Latest version **1.1.2** (published 2022-08-08) · MIT license · 0 weekly downloads

## Install

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

## 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.2 |
| Published | 2022-08-08 |
| First published | 2017-11-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8.0.0 |
| Dependencies | 3 |
| Unpacked size | 6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Andreas Brekken |
| Maintainers | abrkn |

## Links

- npm: https://www.npmjs.com/package/privnote
- Repository: https://github.com/abrkn/privnote
- Homepage: https://github.com/abrkn/privnote#readme
- Issues: https://github.com/abrkn/privnote/issues
- npm.io page: https://npm.io/package/privnote

## Dependencies (3)

- [superagent](https://npm.io/package/superagent.md) ^3.8.0
- [randomstring](https://npm.io/package/randomstring.md) ^1.1.5
- [gibberish-aes](https://npm.io/package/gibberish-aes.md) ^1.0.0

## Recent versions

- 1.1.2 (latest) — 2022-08-08
- 1.1.1 — 2017-11-02
- 1.1.0 — 2017-11-01
- 1.0.0 — 2017-11-01

## README

# privnote

> Unofficial Privnote.com Client for Node.js

[![Build Status](https://travis-ci.org/abrkn/privnote.svg?branch=master)](https://travis-ci.org/abrkn/privnote)

# Install

`npm install privnote`

# Usage

```javascript
const { createPrivnote, retrievePrivnote } = require('privnote');

const created = await createPrivnote('hello privnote.com!');

console.log(created);
// { id: 'Fbg9fXIf',
//     url: 'https://privnote.com/Fbg9fXIf#3pVfRzWrr',
//     passphrase: '3pVfRzWrr' }

const retrieved = await retrievePrivnote(created.id, created.passphrase);

console.log(retrieved);
// hello privnote.com!
```

See `example.js`

# Test

`npm test`

# Author

Andreas Brekken <andreas@brekken.com>

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