# unsplash/unsplash-js

🤖 Official JavaScript wrapper for the Unsplash API

Repository: https://github.com/unsplash/unsplash-js
Canonical: https://ross.abutalabs.com/products/unsplash-js
Homepage: https://www.npmjs.com/package/unsplash-js
Language: TypeScript
License: MIT
License Family: permissive
Topics: unsplash, photos, photography, free, images, pictures
Last push: 2026-08-14T15:58:33+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 8, longevity 100
- inputs: {"age_days": 3963, "days_push": 19, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2193, forks 162 (observed 2026-08-28T04:06:24.972251+00:00)

## What it is
The official JavaScript/TypeScript wrapper for the Unsplash API, providing typed methods for searching and fetching free photos. It supports both server-side usage with an access key and browser usage via a proxy baseUrl.

## Use cases
- fetch free stock photos in a web app
- search unsplash photos from node
- integrate unsplash api into javascript project
- get random photos for a website
- display photographer-attributed images in my app

## When to choose
- you want an official, typed client for the Unsplash API in JavaScript or TypeScript
- you need browser-safe usage via a server proxy to keep your access key secret

## When to avoid
- you need photos from providers other than Unsplash
- you work outside the JavaScript/TypeScript ecosystem

## Facets
- artifact type: library
- maturity: active
- function: http-client, sdk
- domain: apis, web-development, photography, media
- platform: browser, cross-platform
- tags: unsplash, photos, images, api-wrapper, stock-photos, nodejs, typescript

## Member repositories
- unsplash/unsplash-js (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:24.972251+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:47:18.994415+00:00, confidence not recorded.
  - readme: https://github.com/unsplash/unsplash-js (fetched 2026-08-28T04:06:24.972251+00:00, sha cd9a7a0df32e)
  - registry_npm: https://registry.npmjs.org/unsplash-js (fetched 2026-08-29T10:28:00.810764+00:00, sha a3978ea5d6be)
- Data as of 2026-08-30T08:39:29.467469+00:00.
