Skip to content
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.

DenkiYagi/haxe-extern-pdfkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Haxe extern definitions for PDFKit

Install

haxelib git pdfkit https://github.com/DenkiYagi/haxe-extern-pdfkit

If you use pdfkit.standalone.js, please add haxe compiler flag -D pdfkit_standalone.

Requirements

Haxe 4.0.0-rc.3+

Examples

import js.pdfkit.PDFDocument;
import js.node.Fs;

class Main {
    static function main(): Void {
        final doc = new PDFDocument();
        doc.pipe(Fs.createWriteStream("output.pdf"));
        doc.text("Hello world!");
        doc.end();
    }
}

About

Haxe extern definitions for PDFKit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages