Skip to content

Commit 6a2ae9a

Browse files
author
Philipp Alferov
committed
Update docs
1 parent 0e34566 commit 6a2ae9a

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,24 @@ HTML5 W3C saveAs() FileSaver interface in browsers that do not natively support
55
it. The package also comes with [Blob.js](https://github.com/eligrey/Blob.js/)
66
as a dependency to provide support of wide range of browsers.
77

8-
##Dependencies
8+
## Dependencies
99
- [AngularJS](https://github.com/angular/angular.js)
1010
- [FileSaver.js](https://github.com/eligrey/FileSaver.js/)
1111
- [Blob.js](https://github.com/eligrey/Blob.js/)
1212

13-
##Installation
14-
With bower
13+
## Installation
14+
15+
Using bower
1516
```
1617
$ bower install angular-file-saver
1718
```
18-
##Basic usage
19+
20+
Using npm
21+
```
22+
$ npm install angular-file-saver
23+
```
24+
25+
## Basic usage
1926

2027
- Include the <code>fileSaver</code> module to yor project;
2128

@@ -27,6 +34,6 @@ $ bower install angular-file-saver
2734
- `filename`
2835
- `options` - set of options for the [Blob constructor](https://developer.mozilla.org/en/docs/Web/API/Blob) optional parameter if Blob object is passed as first argument)
2936

30-
##Demo
37+
## Demo
3138

3239
[Demo on the github project page](http://alferov.github.io/angular-file-saver/#demo)

docs/index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,12 @@ <h3>
3030
Installation
3131
</h3>
3232

33-
<p>Bower</p>
33+
<p>Using bower</p>
3434
<pre>$ bower install angular-file-saver</pre>
3535

36+
<p>Using npm</p>
37+
<pre>$ npm install angular-file-saver</pre>
38+
3639
<h3>Dependencies</h3>
3740
<ul>
3841
<li><a href="https://github.com/angular/angular.js">AngularJS</a></li>

0 commit comments

Comments
 (0)