@readr-media/react-image

MITLicense declared in the package manifest.

- 可傳入的多個圖片 URL,並依序載入。 - 可傳入參數`rwd`,決定不同螢幕寬度下的圖片。 - 可傳入參數`breakpoint`,修改螢幕寬度斷點。 - 嘗試依據參數`rwd`與 DPR(Device pixel ratio)偵測最適圖片,作為優先載入的對象(詳見「關於「抓取最適圖片」的設計限制」)。 - 當特定圖片載入成功時,則顯示該圖片;當特定圖片載入失敗時,則載入更大尺寸的圖片。 - 當所有圖片 URL 皆載入失敗時,載入預設圖片。 - 實作圖片載入動畫效果。 - 實作圖片 preload

100

Security score

0 known advisories in v2.2.10

0-100 score computed by this site from verifiable signals only: known OSV.dev advisories affecting this exact version, how recently it was published, and the repository's OpenSSF Scorecard.advisory penalty −0 · staleness penalty −0

Weekly downloads

Downloads across all versions in the last 7 days, from the official npm downloads API (api.npmjs.org).

Unpacked size

Size of v2.2.10 on disk after npm install extracts the tarball, as reported by the npm registry.

70.7 kB

Dependencies

Direct runtime dependencies declared by v2.2.10. Transitive dependencies are not counted here — use the lockfile audit for the full tree.

0

Last publish

When v2.2.10 was published to the registry. Long gaps can indicate an unmaintained package.

6 months ago

Security advisories

Vulnerabilities affecting v2.2.10 specifically, from OSV.dev — the open database aggregating the GitHub Advisory Database (GHSA) and CVEs. Links open the full advisory.

No known vulnerabilities affect v2.2.10.