From cbed6861fc6f4a472c7083fbb74f4dd8ab3c2e15 Mon Sep 17 00:00:00 2001 From: "E. R. C. Pereda" Date: Sat, 3 Sep 2016 23:11:53 -0300 Subject: [PATCH] docs(readme): Add example for download function --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index e6cb4ee..15b92a4 100644 --- a/README.md +++ b/README.md @@ -26,4 +26,9 @@ bingImg.getRaw(). bingImg.getUrls(). then(res => console.log(res)). catch(err => console.log(err)); + +// download the images +bingImg.download(). + then(res => console.log(res)). + catch(err => console.log(err)); ```