From 79e091070c359e80ad3533e26e9737548c62aeb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Akseli=20Pal=C3=A9n?= Date: Wed, 25 Mar 2020 05:16:35 +0200 Subject: [PATCH] doc: clarify that required parameters are paths (#56) Make it clearer that you cannot pass types such as buffers and file descriptors. --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index af17885..403bd58 100644 --- a/readme.md +++ b/readme.md @@ -26,7 +26,7 @@ npm install extract-zip -g ```js var extract = require('extract-zip') -extract(source, {dir: target}, function (err) { +extract(sourcePath, {dir: targetPath}, function (err) { // extraction is complete. make sure to handle the err }) ```