# @lit-labs/context

> Helpers and controllers for using Context protocol

Latest version **0.5.1** (published 2023-10-28) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install @lit-labs/context
pnpm add @lit-labs/context
yarn add @lit-labs/context
bun add @lit-labs/context
```

## Health

**Score 50/100 (C)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score; popular repo.

Warnings: low downloads; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.5.1 |
| Published | 2023-10-28 |
| First published | 2022-04-29 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 17.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 21827 |
| Author | Google LLC |
| Maintainers | augustjk, usergenic, lit-robot, graysnorton, sorvell, aomarks, justinfagnani, kevinpschaaf, jbingham, graynorton, rictic |

## Links

- npm: https://www.npmjs.com/package/@lit-labs/context
- Repository: https://github.com/lit/lit
- Homepage: https://lit.dev/
- Issues: https://github.com/lit/lit/issues
- npm.io page: https://npm.io/package/@lit-labs/context

## Dependencies (1)

- [@lit/context](https://npm.io/package/@lit/context.md) ^1.0.0

## Recent versions

- 0.5.1 (latest) — 2023-10-28
- 0.5.0-pre.0 (pre) — 2023-09-29
- 0.5.0 — 2023-10-10
- 0.4.1 — 2023-09-12
- 0.4.0 — 2023-08-14
- 0.3.3 — 2023-06-16
- 0.3.2 — 2023-06-01
- 0.3.2-pre.0 — 2023-04-27
- 0.3.1 — 2023-04-26
- 0.3.0 — 2023-03-22
- 0.2.0 — 2022-12-08
- 0.1.3 — 2022-07-22
- 0.1.2 — 2022-06-14
- 0.1.1 — 2022-05-17
- 0.1.0 — 2022-04-29

## README

# @lit-labs/context

An implementation of the Context Protocol, that allows data to be passed down the DOM tree indirectly, without having to be passed via 'prop drilling'.

This package has graduated from labs! It is now available as `@lit/context`. This package is just a proxy that re-exports `@lit/context`. As a result, while it will no longer be updated, it will continue to work and get updates through the ^1.0.0 version range of `@lit/context`. This should reduce duplication of code while the ecosystem migrates their imports away from `@lit-labs/context`.

If you're looking at this locally or on GitHub, you can now find the README here: [README.md](../../context/README.md).

If you're looking at this online, you can also find its README on npmjs: https://www.npmjs.com/package/@lit/context

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