metanova 0.1.0 → 0.2.0
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/CHANGELOG.md +49 -0
- package/README.md +4 -0
- package/dist/index.cjs +993 -59
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +32 -1
- package/dist/index.d.ts +32 -1
- package/dist/index.js +992 -59
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# CHANGELOG
|
|
2
|
+
|
|
3
|
+
## v0.2.0
|
|
4
|
+
|
|
5
|
+
Release date: 2026-06-04
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Added deterministic YouTube source prioritization for structured `VideoObject`, `ytInitialPlayerResponse`, `ytInitialData`, Open Graph, Twitter Cards, and HTML fallbacks.
|
|
10
|
+
- Added a dedicated Reddit fetch strategy with Reddit JSON, old.reddit, embedded structured data, Open Graph, and HTML fallback diagnostics.
|
|
11
|
+
- Added richer diagnostics fields: `adapterUsed`, `sourcePriority`, `extractionMethod`, `fallbacksAttempted`, `retryInfo`, and `confidenceBreakdown`.
|
|
12
|
+
- Added top-level `publishDate` convenience output while preserving existing article/video date fields.
|
|
13
|
+
- Added broader media discovery for lazy attributes, `imagesrcset`, social media payload keys, preload links, platform media hosts, posters, and embedded JSON payloads.
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- Improved image candidate scoring to prefer large preview images, platform thumbnails, Open Graph images, Twitter images, and high-resolution sources.
|
|
18
|
+
- Improved social platform adapter output for YouTube, Reddit, X/Twitter, Facebook, Instagram, Pinterest, TikTok, and Behance.
|
|
19
|
+
- Improved diagnostics trace output so developers can understand why a field or image was selected.
|
|
20
|
+
|
|
21
|
+
### Fixed
|
|
22
|
+
|
|
23
|
+
- Fixed unstable YouTube titles caused by unrelated playlist, channel, related-content, or generic metadata candidates outranking the current video.
|
|
24
|
+
- Fixed Reddit cloud-provider reliability gaps by exposing blocked fetch attempts and retry guidance.
|
|
25
|
+
- Fixed media candidate ranking cases where avatars, logos, icons, or tracking pixels could compete with preview-quality assets.
|
|
26
|
+
|
|
27
|
+
### Removed
|
|
28
|
+
|
|
29
|
+
- Nothing.
|
|
30
|
+
|
|
31
|
+
## v0.1.0
|
|
32
|
+
|
|
33
|
+
Release date: 2026-06-04
|
|
34
|
+
|
|
35
|
+
### Added
|
|
36
|
+
|
|
37
|
+
- Initial public release.
|
|
38
|
+
|
|
39
|
+
### Changed
|
|
40
|
+
|
|
41
|
+
- Nothing.
|
|
42
|
+
|
|
43
|
+
### Fixed
|
|
44
|
+
|
|
45
|
+
- Nothing.
|
|
46
|
+
|
|
47
|
+
### Removed
|
|
48
|
+
|
|
49
|
+
- Nothing.
|
package/README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# MetaNova
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/metanova)
|
|
4
|
+
[](https://www.npmjs.com/package/metanova)
|
|
5
|
+
[](https://www.typescriptlang.org/)
|
|
6
|
+
|
|
3
7
|
MetaNova is a modular JavaScript and TypeScript library for extracting, analyzing, scoring, and normalizing metadata from web pages and public URLs.
|
|
4
8
|
|
|
5
9
|
It is designed for link previews, bots, bookmark managers, search systems, AI agents, browser extensions, dashboards, CMS integrations, and content aggregation platforms.
|