From b544cd98877ec924674716e12e21468a6944adf4 Mon Sep 17 00:00:00 2001 From: Elbert Alias Date: Sun, 5 Nov 2017 14:18:13 +1100 Subject: [PATCH] Update NPM driver README --- src/drivers/npm/README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/drivers/npm/README.md b/src/drivers/npm/README.md index afa90ec84..f8f7b9eaa 100644 --- a/src/drivers/npm/README.md +++ b/src/drivers/npm/README.md @@ -28,7 +28,12 @@ $ node index.js https://wappalyzer.com ## Run from a script ```javascript -const wappalyzer = require('wappalyzer'); +const options = { + userAgent: 'Wappalyzer', + maxWait: 3000 +}; + +const wappalyzer = require('wappalyzer')(options); wappalyzer.analyze('https://wappalyzer.com') .then(json => {