Skip to content

Commit e53b7a5

Browse files
committed
Update documentation
1 parent 2f59119 commit e53b7a5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* [Installation options](#installoptions)
1313
* [Usage](#usage)
1414
* [Docker](#docker)
15+
* [Code of conduct](CODE_OF_CONDUCT.md)
1516
* [Team](#team)
1617
* [Acknowledgements](#acknowledgements)
1718
* [License](#license)
@@ -78,7 +79,7 @@ Before installing Ghostscript4JS you need to assure you have the following prere
7879

7980
* **Ghostscript** for your Operating System.
8081

81-
## At moment Ghostscript4JS is fully compatible with Ghostscript version 9.19 and 9.21
82+
## At moment Ghostscript4JS is fully compatible with Ghostscript version 9.19 and 9.23
8283

8384
## Linux
8485

@@ -258,7 +259,7 @@ try {
258259

259260
### executeSync
260261

261-
**executeSync(cmd)** method takes the Ghostscript command parameters in input as a string and executes in a synchronous way.
262+
**executeSync(cmd)** method takes the Ghostscript command parameters in input as a string or array of strings and executes in a synchronous way.
262263
If something wrong happens in calling this method an Error with description and code error will be thrown.
263264

264265
#### Example - executeSync
@@ -278,7 +279,7 @@ try {
278279

279280
### execute
280281

281-
**execute(cmd, callback)** method takes in input the Ghostscript command parameters as a string and an optional callback. The execution will be asynchronous so this ensure better performance especially in a web application enviroment, because it'll not block the Node.Js event loop.
282+
**execute(cmd, callback)** method takes in input the Ghostscript command parameters as a string or array of strings and an optional callback. The execution will be asynchronous so this ensure better performance especially in a web application enviroment, because it'll not block the Node.Js event loop.
282283
This method has an optional callback function as input, in that case, a possible error will be handled by this function. If noone function will be provided the method returns a Promise that will be resolved or rejected as reported in the following example.
283284

284285
#### Example - execute

0 commit comments

Comments
 (0)