wappalyzer-core
Advanced tools
Comparing version 6.10.66 to 7.0.3
{ | ||
"name": "wappalyzer-core", | ||
"description": "Identify technology on websites", | ||
"keywords": [ | ||
"analyze", | ||
"identify", | ||
"detect", | ||
"detector", | ||
"technology", | ||
"cms", | ||
"framework", | ||
"library", | ||
"software" | ||
], | ||
"homepage": "https://www.wappalyzer.com/", | ||
"version": "6.10.66", | ||
"version": "7.0.3", | ||
"author": "Wappalyzer", | ||
"license": "GPL-3.0", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/wappalyzer/wappalyzer" | ||
}, | ||
"funding": [ | ||
{ | ||
"url": "https://github.com/sponsors/aliasio" | ||
} | ||
], | ||
"main": "wappalyzer.js", | ||
"files": [ | ||
"wappalyzer.js" | ||
"index.js" | ||
] | ||
} | ||
} |
@@ -1,59 +0,3 @@ | ||
# Wappalyzer core | ||
# Wappalyzer | ||
[Wappalyzer](https://www.wappalyzer.com/) identifies technologies on websites. | ||
## Installation | ||
```shell | ||
$ npm i wappalyzer-core | ||
``` | ||
## Usage | ||
```javascript | ||
#!/usr/bin/env node | ||
const fs = require('fs') | ||
const Wappalyzer = require('./wappalyzer') | ||
// See https://github.com/wappalyzer/wappalyzer/blob/master/README.md#specification | ||
const categories = JSON.parse( | ||
fs.readFileSync(path.resolve(`./categories.json`)) | ||
) | ||
let technologies = {} | ||
for (const index of Array(27).keys()) { | ||
const character = index ? String.fromCharCode(index + 96) : '_' | ||
technologies = { | ||
...technologies, | ||
...JSON.parse( | ||
fs.readFileSync(path.resolve(`./technologies/${character}.json`)) | ||
), | ||
} | ||
} | ||
Wappalyzer.setTechnologies(technologies) | ||
Wappalyzer.setCategories(categories) | ||
Wappalyzer.analyze({ | ||
url: 'https://example.github.io/', | ||
meta: { generator: ['WordPress'] }, | ||
headers: { server: ['Nginx'] }, | ||
scriptSrc: ['jquery-3.0.0.js'], | ||
cookies: { awselb: [''] }, | ||
html: '<div ng-app="">', | ||
}).then((detections) => { | ||
const results = Wappalyzer.resolve(detections) | ||
console.log(results) | ||
}) | ||
``` | ||
Here's a shell script to download all of the necessary files referenced in the above example: | ||
```shell | ||
http --follow https://raw.githubusercontent.com/wappalyzer/wappalyzer/master/src/categories.json > categories.json | ||
http --follow https://github.com/wappalyzer/wappalyzer/archive/refs/heads/master.tar.gz | tar -xz --strip-components=2 'wappalyzer-master/src/technologies' | ||
``` | ||
This package is no longer being maintained. Please use the API at [wappalyzer.com/api](https://www.wappalyzer.com/api/) instead. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
1
100
445
4
4
1
2