context 2.0.1

Simple utility for context propagation within Javascript applications and libraries. Loosely based on the ideas behind React's context, allows you to achieve the same goals (and more) without actually using react. It allows you to keep reference for share

context@2.0.1 was published on 2021-12-24. Its manifest declares 0 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.

All context versions · Permanent reference to 2.0.1 · Latest release

Package specifications

Version2.0.1
License declarationMIT
Published2021-12-24T20:15:42.508Z
Node.js requirementNot declared
Type declarationsBundled declarations
Runtime dependency count0
Peer requirement count0
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size20.64 KiB
Published file count21
Package typeNot declared
ES module entry./dist/es/context.production.js
Default entry./dist/cjs/context.js
Side effects declarationNot declared
Direct advisories0
Resolved graph dependencies0
Repository stars2669
Repository forks97

Install context 2.0.1

npm install context@2.0.1
pnpm add context@2.0.1
yarn add context@2.0.1

Runtime dependencies

  • None declared

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.

    Code-Review0/10 — Found 0/29 approved changesets -- score normalized to 0
    Dangerous-Workflow10/10 — no dangerous workflow patterns detected
    Maintained10/10 — 12 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
    CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
    Token-Permissions0/10 — detected GitHub workflow tokens with excessive permissions
    Binary-Artifacts10/10 — no binaries found in the repo
    Security-Policy0/10 — security policy file not detected
    Pinned-Dependencies0/10 — dependency not pinned by hash detected -- score normalized to 0
    License10/10 — license file detected
    Branch-Protection0/10 — branch protection not enabled on development/release branches
    Fuzzing0/10 — project is not fuzzed
    SAST10/10 — SAST tool is run on all commits

    Evidence and freshness