Update NPM README

main
Elbert Alias 7 years ago
parent 8a166daa96
commit 99cf4d1194

@ -38,9 +38,13 @@ const wappalyzer = require('wappalyzer')(options);
wappalyzer.analyze('https://www.wappalyzer.com') wappalyzer.analyze('https://www.wappalyzer.com')
.then(json => { .then(json => {
console.log(JSON.stringify(json, null, 2)); process.stdout.write(JSON.stringify(json, null, 2) + '\n')
process.exit(0);
}) })
.catch(error => { .catch(error => {
console.error(error); process.stderr.write(error + '\n')
process.exit(1);
}); });
``` ```

Loading…
Cancel
Save