# bitpay-invoice-generator

> Generate new Bitcoin payment invoice pages using the Bitpay API

Latest version **0.1.2** (published 2014-12-17) · ISC license · 0 weekly downloads

## Install

```sh
npm install bitpay-invoice-generator
pnpm add bitpay-invoice-generator
yarn add bitpay-invoice-generator
bun add bitpay-invoice-generator
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2014-12-17 |
| First published | 2014-12-17 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 6 |
| Maintainers | stevenzeiler |

## Links

- npm: https://www.npmjs.com/package/bitpay-invoice-generator
- Repository: https://github.com/stevenzeiler/bitpay-invoice-generator
- Issues: https://github.com/stevenzeiler/bitpay-invoice-generator/issues
- npm.io page: https://npm.io/package/bitpay-invoice-generator

## Dependencies (2)

- [bluebird](https://npm.io/package/bluebird.md) ^2.3.11
- [superagent](https://npm.io/package/superagent.md) ^0.21.0

## Recent versions

- 0.1.2 (latest) — 2014-12-17
- 0.1.1 — 2014-12-17
- 0.1.0 — 2014-12-17

## README

# Bitpay Invoice Generator

Simple Node.js tool to generate Bitcoin payment invoice pages

## Installation

    npm install --save bitpay-invoice-generator

## Usage

    var InvoiceGenerator = require('bitpay-invoice-generator')
    var invoiceGenerator = new InvoiceGenerator({
      apiKey: 'bitpayApiKey',
      notificationURL: 'https://stevenzeiler.com/callbacks/bitpay'
    })

    invoiceGenerator.getNewInvoice({
      amount: 15,
      data: {
        arbitrary: 'embedded information'
      }
    })
    .then(function(invoice) {
      // invoice payment url and information returned
    })

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