Recently i working working on angular meteor application. I needed to create a file on front end of the application.
For this purpose we do have Javacript file saver library

But to include and use this library in angular meteor application i need to create a meteor version of this. This package works across the browsers.

to include this package in to your project simply run
meteor add morwal89:angular-meteor-filesaver


A smart package that provides filesaver.js to the angular Meteor client. Currently using version marked ‘2015-03-04’.

FileSaver.js implements the HTML5 W3C saveAs() [FileSaver][1] interface in browsers that do not natively support it. There is a [FileSaver.js demo][2] that demonstrates saving various media types.

FileSaver.js is the solution to saving files on the client-side, and is perfect for webapps that need to generate files, or for saving sensitive information that shouldn’t be sent to an external server.

Find source code for this package here.

The following two tabs change content below.
He is founder and CTO of He senior software architect. He is guru of various Mobile and web technologies including Node.js, Angular.js, Meteor.js. He is founder member of habilelabs Pvt. Ltd.