All Projects → Astrocoders → Node Pdf Invoice

Astrocoders / Node Pdf Invoice

Licence: mit
A Phantom free PDF invoice generator built with PDFKit

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Node Pdf Invoice

Elixirbooks
List of Elixir books
Stars: ✭ 1,021 (+1723.21%)
Mutual labels:  pdf
Pdf Annotate.js
Annotation layer for pdf.js
Stars: ✭ 49 (-12.5%)
Mutual labels:  pdf
Caj2pdf
Convert CAJ (China Academic Journals) files to PDF. 转换中国知网 CAJ 格式文献为 PDF。佛系转换,成功与否,皆是玄学。
Stars: ✭ 1,063 (+1798.21%)
Mutual labels:  pdf
Mybox
Easy tools of document, image, file, network, location, color, and media.
Stars: ✭ 45 (-19.64%)
Mutual labels:  pdf
Format parser
file metadata parsing, done cheap
Stars: ✭ 46 (-17.86%)
Mutual labels:  pdf
Pdfgen
HTTP service to generate PDF from Json requests
Stars: ✭ 50 (-10.71%)
Mutual labels:  pdf
Reportbro Lib
PDF and Excel report generation library. Reports can be designed with reportbro-designer, a javascript plugin.
Stars: ✭ 43 (-23.21%)
Mutual labels:  pdf
Diff Pdf
A simple tool for visually comparing two PDF files
Stars: ✭ 1,080 (+1828.57%)
Mutual labels:  pdf
Mobius
Scripts to extract data from the COVID-19 Google Community Mobility Reports
Stars: ✭ 47 (-16.07%)
Mutual labels:  pdf
Docker Texlive
A docker container containing an installation of texlive as well as several useful scripts.
Stars: ✭ 52 (-7.14%)
Mutual labels:  pdf
Owasp Masvs
The Mobile Application Security Verification Standard (MASVS) is a standard for mobile app security.
Stars: ✭ 1,030 (+1739.29%)
Mutual labels:  pdf
Sile
Simon’s Improved Layout Engine
Stars: ✭ 1,032 (+1742.86%)
Mutual labels:  pdf
Thinreports Php
An implementation of the Thinreports Generator in PHP. It provides easy and simple way for generating a PDF on pure PHP.
Stars: ✭ 51 (-8.93%)
Mutual labels:  pdf
Html2pdfrenderer
Take any HTML loaded in WKWebView and make PDF out of it.
Stars: ✭ 44 (-21.43%)
Mutual labels:  pdf
Ramayana book
Ramayana Book ( One of the two great epics of Hinduism ) ascribed by Valmiki
Stars: ✭ 52 (-7.14%)
Mutual labels:  pdf
Naps2
Scan documents to PDF and other file types, as simply as possible.
Stars: ✭ 1,018 (+1717.86%)
Mutual labels:  pdf
Koreader
An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats, running on Cervantes, Kindle, Kobo, PocketBook and Android devices
Stars: ✭ 9,467 (+16805.36%)
Mutual labels:  pdf
Pdfio.jl
PDF Reader Library for Native Julia.
Stars: ✭ 56 (+0%)
Mutual labels:  pdf
O
🌀 Text editor suitable for writing git commit messages and editing Markdown files. Can build executables and jump to errors at the press of `ctrl-space`, for several programming languages. Can format code with `ctrl-w`. Provides general syntax highlighting, rainbow parenthesis and cut/paste portals. o is intentionally limited to VT100.
Stars: ✭ 54 (-3.57%)
Mutual labels:  pdf
Stories About Ming Dynasty
明朝那些事儿(全七卷)
Stars: ✭ 52 (-7.14%)
Mutual labels:  pdf

pdf-invoice

Install

$ npm i -s pdf-invoice

Usage

const pdfInvoice = require('pdf-invoice')

const document = pdfInvoice({
  company: {
    phone: '(99) 9 9999-9999',
    email: '[email protected]',
    address: 'Av. Companhia, 182, Água Branca, Piauí',
    name: 'Evil Corp.',
  },
  customer: {
    name: 'Elliot Raque',
    email: '[email protected]',
  },
  items: [
    {amount: 50.0, name: 'XYZ', description: 'Lorem ipsum dollor sit amet', quantity: 12},
    {amount: 12.0, name: 'ABC', description: 'Lorem ipsum dollor sit amet', quantity: 12},
    {amount: 127.72, name: 'DFE', description: 'Lorem ipsum dollor sit amet', quantity: 12},
  ],
})

// That's it! Do whatever you want now.
// Pipe it to a file for instance:

const fs = require('fs')

document.generate() // triggers rendering
document.pdfkitDoc.pipe(fs.createWriteStream('path/to/file.pdf'))

Checkout this PDF demo at https://github.com/Astrocoders/node-pdf-invoice/blob/master/tests/testing.pdf

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].