jimmywarting / StreamSaver.js

StreamSaver writes stream to the filesystem directly asynchronous
https://jimmywarting.github.io/StreamSaver.js/example.html
MIT License
4.04k stars 418 forks source link

Unable to create PDF #71

Closed telescope0606 closed 6 years ago

telescope0606 commented 6 years ago

I am trying to use this to make a PDF file, but I am having trouble figuring out how. Is PDF supported? If so, how do I use this to make a PDF?

jimmywarting commented 6 years ago

You are able to save any file/data using this lib. But it's not some PDF generator. You need to provide the data that needs to be written to disc