@sanity/image-url

Tools to generate image urls from Sanity content

@sanity/image-url@2.1.1 was published on 2026-03-30. Its manifest declares 1 runtime dependency and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=20.19.0.

All @sanity/image-url versions · Permanent reference to 2.1.1 · View npm registry JSON

Package specifications

Version2.1.1
License declarationMIT
Published2026-03-30T17:44:33.263Z
Node.js requirement>=20.19.0
Type declarationsBundled declarations
Runtime dependency count1
Peer requirement count0
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size114.06 KiB
Published file count22
Package typemodule
ES module entry./lib/index.js
Default entry./lib/index.js
Side effects declarationfalse
Direct advisories0
Resolved graph dependencies3
Repository stars94
Repository forks26

Install @sanity/image-url 2.1.1

npm install @sanity/image-url@2.1.1
pnpm add @sanity/image-url@2.1.1
yarn add @sanity/image-url@2.1.1

Runtime dependencies

Peer requirements

  • None declared

Optional dependencies

  • None declared

Resolved dependency graph

This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.

How to interpret the specifications

Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

OpenSSF repository checks

Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

Maintained0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Code-Review8/10 — Found 15/18 approved changesets -- score normalized to 8
Binary-Artifacts10/10 — no binaries found in the repo
Dangerous-Workflow10/10 — no dangerous workflow patterns detected
Pinned-Dependencies0/10 — dependency not pinned by hash detected -- score normalized to 0
Token-Permissions10/10 — GitHub workflow tokens follow principle of least privilege
CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
Fuzzing0/10 — project is not fuzzed
License10/10 — license file detected
Branch-Protection5/10 — branch protection is not maximal on development and all release branches
Security-Policy10/10 — security policy file detected
SAST0/10 — SAST tool is not run on all commits -- score normalized to 0

Evidence and freshness