Skip to content

Commit a33dbd1

Browse files
committed
Merge branch 'buffer-in-docs' of https://github.com/benwiley4000/image-to-ascii into new-version
2 parents b9adfc4 + 3afa2fd commit a33dbd1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Converts the provided image in ASCII art.
8080

8181
#### Params
8282

83-
- **String** `source`: The path/url to the image.
83+
- **String|Buffer** `source`: The path/url to the image or a `Buffer` object.
8484
- **Object|String** `options`: The path to the image or an object containing the following fields:
8585

8686
**Size Options**:

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const DEFAULTS = {
2929
*
3030
* @name imageToAscii
3131
* @function
32-
* @param {String} source The path/url to the image.
32+
* @param {String|Buffer} source The path/url to the image or a Buffer object.
3333
* @param {Object|String} options The path to the image or an object containing
3434
* the following fields:
3535
*

0 commit comments

Comments
 (0)