@greymass/keycert-pdf
TypeScript icon, indicating that this package has built-in type declarations

1.4.0 • Public • Published

@greymass/keycert-pdf

Pure JS PDF generation for Anchor Owner Key Certificates 🚀

Installation

The @greymass/keycert-pdf package is distributed as a module on npm.

yarn add @greymass/keycert-pdf
# or
npm install --save @greymass/keycert-pdf

Usage

import generate from '@greymass/keycert-pdf'
const cert = .. // KeyCertificate instance obtained from @greymass/keycert
const state = await client.chain.getInfo()
const pdfBytes = await generate({cert, state})

Developing

You need Make, node.js and yarn installed.

Clone the repository and run make to checkout all dependencies and build the project. See the Makefile for other useful targets. Before submitting a pull request make sure to run make lint.


Made with ☕️ & ❤️ by Greymass, if you find this useful please consider supporting us.

Readme

Keywords

none

Package Sidebar

Install

npm i @greymass/keycert-pdf

Weekly Downloads

8

Version

1.4.0

License

BSD-3-Clause

Unpacked Size

501 kB

Total Files

14

Last publish

Collaborators

  • dafuga01
  • jesta
  • jnordberg