From e7cc1afa4a8b9f112bd30945c123bdcfdd71175a Mon Sep 17 00:00:00 2001 From: Dmytro Date: Tue, 10 May 2016 20:09:40 +0300 Subject: [PATCH] v0.4.0 README update [ci skip] --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index ab4c478..3d97bf5 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,12 @@ Pack.param('dmg', /osx/); let zipPath = Pack.path('some/test/dir'); // Extract to directory let extractedPath = Pack.extract(zipPath, 'some/destination'); + +// Async example +Pack.param('isSync', false); +let zipPath = Pack.path('some/test/dir', (error, stdout, stderr) => { + // ... +}); ``` ### Parameters