minifetch-api 1.3.1 → 1.3.3
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 +12 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
</a>
|
|
6
6
|
</div>
|
|
7
7
|
|
|
8
|
-
**[Minifetch](https://minifetch.com) is a hosted
|
|
8
|
+
**[Minifetch](https://minifetch.com) is a hosted toolkit of SEO extraction primitives.** Run them as a full technical audit or call one at a time for a fraction of the price — and a fraction of the LLM tokens. No subscription.
|
|
9
9
|
|
|
10
10
|
- ✅ **Always pay-per-fetch at competitive prices.**
|
|
11
11
|
- ✅ [Sign up](https://minifetch.com/dashboard) for an account & get free starter credits. 🎉🎉
|
|
@@ -68,24 +68,27 @@ After the Quick Start, you have the following methods to use.
|
|
|
68
68
|
|
|
69
69
|
**Wrap** these methods in a **try/catch** just like in the Quick Start example above. **Code examples** can be also found in the [Github repository](https://github.com/Niche-Networks/minifetch-api/) /example- directories.
|
|
70
70
|
|
|
71
|
-
The "checkAndExtract" methods check the target URL's `robots.txt` file to ensure its not blocked and tell us your preferred crawl delay (defaults to 1 second between requests to your domain). So fetching 10 URLs takes at least 10 seconds to complete. This is by design, so Minifetch never hammers your server or slows it down for your real users. [Full api docs here.](https://minifetch.com/docs/api)
|
|
71
|
+
The "checkAndExtract" methods check the target URL's `robots.txt` file to ensure its not blocked and tell us your preferred crawl delay (defaults to 1 second between requests to your domain). So fetching 10 URLs takes at least 10 seconds to complete by default. This is by design, so Minifetch never hammers your server or slows it down for your real users. [Full api docs here.](https://minifetch.com/docs/api)
|
|
72
72
|
|
|
73
73
|
```js
|
|
74
74
|
await client.checkAndRunSeoPageAudit(url);
|
|
75
75
|
// Price: $0.01
|
|
76
|
-
// Runs a full technical SEO audit on your URL.
|
|
76
|
+
// Runs a full technical SEO audit on your URL. Combines data from
|
|
77
77
|
// the other API endpoints and runs checks that each return a PASS/
|
|
78
|
-
// WARN/ FAIL result with no black-box scoring
|
|
78
|
+
// WARN/ FAIL result with no black-box scoring. Just deterministic,
|
|
79
79
|
// composable signal you can act on or pipe into an agent.
|
|
80
|
-
// Audit rules are documented in the
|
|
80
|
+
// Audit rules are documented in the skill file:
|
|
81
81
|
// https://minifetch.com/skills/seo-page-audit/SKILL.md
|
|
82
82
|
|
|
83
83
|
await client.checkAndExtractUrlMetadata(url, options);
|
|
84
84
|
// Price: $0.002
|
|
85
|
-
//
|
|
86
|
-
//
|
|
87
|
-
//
|
|
88
|
-
//
|
|
85
|
+
// Extracts rich structured metadata from your URL: favicons, title,
|
|
86
|
+
// description, canonical, SEO-related meta tags, Open Graph and
|
|
87
|
+
// Twitter card tags, JSON-LD and more.
|
|
88
|
+
// Set verbosity option to full for more fields: redirect chain,
|
|
89
|
+
// relevant response headers, performance metrics, headings, images
|
|
90
|
+
// and every meta tag found on the page; verbosity "full" is the
|
|
91
|
+
// drop-in replacement for the npm `url-metadata` package.
|
|
89
92
|
// Options:
|
|
90
93
|
// { verbosity: "full" } - defaults to "standard"
|
|
91
94
|
// { includeResponseBody: true } - defaults to false
|
package/package.json
CHANGED