# @microsoft/sp-page-context

> Page context services for the SharePoint Framework

Latest version **1.23.2** (published 2026-06-30) · https://aka.ms/spfx/license license · 0 weekly downloads

## Install

```sh
npm install @microsoft/sp-page-context
pnpm add @microsoft/sp-page-context
yarn add @microsoft/sp-page-context
bun add @microsoft/sp-page-context
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.23.2 |
| Published | 2026-06-30 |
| First published | 2016-10-31 |
| Weekly downloads | 0 |
| License | https://aka.ms/spfx/license |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18.17.1 <19.0.0 \|\| >=22.14.0 < 23.0.0 |
| Dependencies | 7 |
| Unpacked size | 211.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | microsoft1es, microsoft-oss-releases, odspnpm |

## Links

- npm: https://www.npmjs.com/package/@microsoft/sp-page-context
- Homepage: http://aka.ms/spfx
- npm.io page: https://npm.io/package/@microsoft/sp-page-context

## Dependencies (7)

- [tslib](https://npm.io/package/tslib.md) 2.3.1
- [@swc/helpers](https://npm.io/package/@swc/helpers.md) ^0.5.12
- [@microsoft/sp-diagnostics](https://npm.io/package/@microsoft/sp-diagnostics.md) 1.23.2
- [@microsoft/sp-odata-types](https://npm.io/package/@microsoft/sp-odata-types.md) 1.23.2
- [@microsoft/sp-core-library](https://npm.io/package/@microsoft/sp-core-library.md) 1.23.2
- [@microsoft/sp-dynamic-data](https://npm.io/package/@microsoft/sp-dynamic-data.md) 1.23.2
- [@microsoft/sp-lodash-subset](https://npm.io/package/@microsoft/sp-lodash-subset.md) 1.23.2

## Recent versions

- 1.23.2 (latest) — 2026-06-30
- 1.24.0-beta.5 (next) — 2026-09-22
- 1.24.0-beta.4 — 2026-09-17
- 1.24.0-beta.3 — 2026-08-26
- 1.24.0-beta.2 — 2026-07-09
- 1.23.1 — 2026-06-05
- 1.23.0 — 2026-05-13
- 1.23.0-rc.3 — 2026-05-06
- 1.23.0-rc.2 — 2026-04-29
- 1.23.0-rc.1 — 2026-04-21
- 1.23.0-rc.0 — 2026-04-08
- 1.23.0-beta.2 — 2026-04-02
- 1.23.0-beta.0 — 2026-03-23
- 1.22.2 — 2026-01-28
- 1.22.1 — 2025-12-15
- … 103 more at https://npm.io/package/@microsoft/sp-page-context/versions

## README

# sp-page-context

This package defines the page context layer for the SharePoint Framework.
The page context allows an application and its web parts to share common
data about the current page, such as its contents, URL, list, permissions,
navigation menu, etc.

*This package is part of the [SharePoint Framework](http://aka.ms/spfx),
which is a collection of NPM packages that empower developers to create client-side experiences
for [Microsoft SharePoint](https://products.office.com/en-us/sharepoint/collaboration).
For more information, including complete API documentation and code samples, please visit
the [SharePoint Framework](http://aka.ms/spfx) web site.*

---
_Source: https://npm.io/package/@microsoft/sp-page-context · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
