![]() Visit the official repository at Github for more information about this library. If you use NPM, you can install it in your project using: npm install file-saver -saveĪnd then you can just require the module as: var FileSaver = require('file-saver') This library has support with UMD (Universal Module Definition) so you can use it in the browser and access it from the window or you can require it as a module with any bundler. You will need the FileSaver library to achieve your goal. For the examples we are going to use a PDF hosted in the Mozilla Github IO website, that is absolutely free and has CORS headers, so it can be used everywhere to test. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |