UNPKG

1.16 kBMarkdownView Raw
1[![web-technology-detector](https://flat.badgen.net/npm/v/web-technology-detector)](https://www.npmjs.com/package/web-technology-detector) [![web-technology-detector](https://flat.badgen.net/packagephobia/install/web-technology-detector)](https://packagephobia.now.sh/result?p=web-technology-detector)
2![web-technology-detector](https://img.shields.io/npm/dm/web-technology-detector.svg)
3
4
5# web technology detection
6This simple module can help you detect CDN, label scripts or styles, CMS and more
7
8# installation
9```npm i web-technology-detector```
10
11# Usage
12- load by URL
13 ```javascript
14 const detector = require('web-technology-detector');
15
16 let technologies = new detector().url('https://codeot.com');
17 ```
18
19- provide data (useful if using puppeteer fetch or any alternative which already provides data)
20 ```javascript
21 const detector = require('web-technology-detector');
22 let technologies = new detector().identify(url, {
23 html,
24 scripts,
25 cookie,
26 headers
27 });
28 ```
29**returns array of object**
30
31[Twitter](https://twitter.com/iMultiThinker) [Github](https://github.com/Multi-Thinker) [Codeot](https://codeot.com)
\No newline at end of file