Closed dolanmiu closed 7 years ago
I think library should work on REST API layer.
I am creating a library to generate word documents with the use of archiver:
https://github.com/dolanmiu/docx
At the moment, you can only generate word documents server side. But there was a feature request asking word documents to be created on the front end.
This is why I ask.
If there is actual technical limitations, and security limitations, then I guess this can't be helped!
I think its work only on nodejs. Becouse it use libraries, that available only in node. You can open sources and look, what is it required. As example fs library not available in browser. But mb I'm wrong.
looks like graceful fs could be a culprit here. i dont work with angular enough to know its limitations but i suspect it has to do with some modules being primarily written for node.
This library doesn't seem to work in Angular2
Here is a plunker:
https://plnkr.co/edit/K97cNlZe9rA0wBOy2Mz2?p=preview