@realfavicongenerator/check-favicon 0.3.0 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
# check-favicon
|
|
1
|
+
# @realfavicongenerator/check-favicon
|
|
2
2
|
|
|
3
|
-
A TypeSCript library to check the favicon of a website.
|
|
3
|
+
A TypeSCript library to check the favicon of a website. This library is used by the
|
|
4
|
+
[favicon checker](https://realfavicongenerator.net/favicon_checker) of
|
|
5
|
+
[RealFaviconGenerator](https://realfavicongenerator.net/).
|
|
6
|
+
|
|
7
|
+
The checker analyzes an HTML page to produce a report, platform per platform (desktop, iOS, Web app manifest).
|
|
8
|
+
The report contains logs, warnings and errors messages, along with the icons themselves.
|
|
4
9
|
|
|
5
10
|
Install:
|
|
6
11
|
|
|
@@ -12,6 +17,7 @@ Usage:
|
|
|
12
17
|
|
|
13
18
|
```js
|
|
14
19
|
import { parse } from 'node-html-parser'
|
|
20
|
+
import { checkDesktopFavicon, checkTouchIcon, checkWebAppManifest } from '@realfavicongenerator/check-favicon'
|
|
15
21
|
|
|
16
22
|
const body = fs.readFileSync('some_page.html');
|
|
17
23
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@realfavicongenerator/check-favicon",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Check the favicon of a website",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"node-html-parser": "^6.1.13",
|
|
39
39
|
"sharp": "^0.32.6"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "29683663a44edbdd792ca4fe81180a4f9003dbd5"
|
|
42
42
|
}
|