define-context

MITLicense declared in the package manifest.

Define and hook into a typed React Context, assured of a descriptive error message if the value was not provided. Comes equipped with various reducer utilities for React useReducer.

90

Security score

0 known advisories in v5.1.1

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 −10

Weekly downloads

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

Unpacked size

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

51.5 kB

Dependencies

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

1

Last publish

When v5.1.1 was published to the registry. Long gaps can indicate an unmaintained package.

2 years ago

Security advisories

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

No known vulnerabilities affect v5.1.1.