From 3247084327affd972edd1ca7fd9016ac98186f20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jimmy=20W=C3=A4rting?= Date: Wed, 25 May 2016 23:33:03 +0200 Subject: [PATCH] how to install filesaver --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b149535..b5e605e 100644 --- a/README.md +++ b/README.md @@ -102,11 +102,16 @@ The `FileSaver.js` distribution file is compiled with Uglify.js like so: ```bash uglifyjs FileSaver.js --mangle --comments /@source/ > FileSaver.min.js +# or simply: +npm run build ``` Please make sure you build a production version before submitting a pull request. -Bower Installation +Installation ------------------ -Please see the [this repo](http://github.com/Teleborder/FileSaver.js) for a bower-compatible fork of FileSaver.js, available under the package name `file-saver.js`. +```bash +npm install file-saver --save +bower install file-saver +```