@@ -18,9 +18,15 @@ You can also try out an interactive in-browser demo of PDFKit [here](http://pdfk
1818
1919## Installation
2020
21- Installation uses the [ npm] ( http://npmjs.org/ ) package manager. Just type the following command after installing npm.
21+ Use [ npm] ( http://npmjs.org/ ) or [ yarn ] ( https://yarnpkg.com/ ) package manager. Just type the following command:
2222
23- npm install pdfkit
23+ ``` bash
24+ # with npm
25+ npm install pdfkit
26+
27+ # with yarn
28+ yarn add pdfkit
29+ ```
2430
2531## Features
2632
@@ -40,6 +46,7 @@ Installation uses the [npm](http://npmjs.org/) package manager. Just type the fo
4046 - See [ fontkit] ( http://github.com/foliojs/fontkit ) for more details on advanced glyph layout support.
4147- Image embedding
4248 - Supports JPEG and PNG files (including indexed PNGs, and PNGs with transparency)
49+ - Tables
4350- Annotations
4451 - Links
4552 - Notes
@@ -56,7 +63,7 @@ Installation uses the [npm](http://npmjs.org/) package manager. Just type the fo
5663## Coming soon!
5764
5865- Patterns fills
59- - Higher level APIs for creating tables and laying out content
66+ - Higher level APIs for laying out content
6067- More performance optimizations
6168- Even more awesomeness, perhaps written by you! Please fork this repository and send me pull requests.
6269
@@ -168,7 +175,7 @@ stream.on('finish', function() {
168175
169176You can see an interactive in-browser demo of PDFKit [ here] ( http://pdfkit.org/demo/browser.html ) .
170177
171- Note that in order to Browserify a project using PDFKit, you need to install the ` brfs ` module with npm ,
178+ Note that in order to Browserify a project using PDFKit, you need to install the ` brfs ` module,
172179which is used to load built-in font data into the package. It is listed as a ` devDependency ` in
173180PDFKit's ` package.json ` , so it isn't installed by default for Node users.
174181If you forget to install it, Browserify will print an error message.
0 commit comments