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 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
+ [![npm version](https://img.shields.io/npm/v/metanova.svg)](https://www.npmjs.com/package/metanova)
4
+ [![License](https://img.shields.io/npm/l/metanova.svg)](https://www.npmjs.com/package/metanova)
5
+ [![TypeScript](https://img.shields.io/badge/TypeScript-Ready-blue)](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.