Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/datagenno/draft-js-export-pdfmake

DraftJS: export ContentState to PdfMake content object
https://github.com/datagenno/draft-js-export-pdfmake

draft-js pdfmake react

Last synced: 3 months ago
JSON representation

DraftJS: export ContentState to PdfMake content object

Lists

README

        

# DraftJS: export ContentState to pdfmake content object

Travis Status

This is a tool to convert DraftJS ContentState to [pdfmake](http://pdfmake.org/) content object.

## Available Commands

* `yarn build` compiles the `src` folder into `lib`
* `yarn output` generates an `output.pdf` in the root path
* `yarn test` runs the test =)

## Installation

yarn add draft-js-export-pdfmake

## Contributing

If you want to help out, please open an issue to discuss or just go ahead and submit a PR.

## License

This software is [BSD Licensed](/LICENSE).