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
- Host: GitHub
- URL: https://github.com/datagenno/draft-js-export-pdfmake
- Owner: datagenno
- License: isc
- Created: 2017-09-13T15:46:39.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-08-04T19:23:21.000Z (over 4 years ago)
- Last Synced: 2024-04-24T19:02:30.964Z (7 months ago)
- Topics: draft-js, pdfmake, react
- Language: JavaScript
- Size: 425 KB
- Stars: 10
- Watchers: 2
- Forks: 3
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-draft-js - Draft.js: Export ContentState to PDFMake - Export ContentState to PDFMake. (Common Utilities)
README
# DraftJS: export ContentState to pdfmake content object
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).