# @steeringwaves/context

> node context library

Latest version **0.0.6** (published 2023-06-29) · ISC license · 0 weekly downloads

## Install

```sh
npm install @steeringwaves/context
pnpm add @steeringwaves/context
yarn add @steeringwaves/context
bun add @steeringwaves/context
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.6 |
| Published | 2023-06-29 |
| First published | 2022-09-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=12 |
| Dependencies | 2 |
| Unpacked size | 157.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | steeringwaves |
| Maintainers | maxattax, 1800alex |

## Links

- npm: https://www.npmjs.com/package/@steeringwaves/context
- Repository: https://github.com/steeringwaves/js-context
- Issues: https://github.com/steeringwaves/js-context/issues
- npm.io page: https://npm.io/package/@steeringwaves/context

## Dependencies (2)

- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [bluebird](https://npm.io/package/bluebird.md) ^3.7.2

## Recent versions

- 0.0.6 (latest) — 2023-06-29
- 0.0.5 — 2023-03-17
- 0.0.4 — 2023-03-17
- 0.0.3 — 2022-10-07
- 0.0.2 — 2022-09-27
- 0.0.1 — 2022-09-27

## README

# @steeringwaves/context

![workflow](https://github.com/github/docs/actions/workflows/test.yml/badge.svg)

A typescript context library.

## Example

```js
const Context = require("@steeringwaves/context").default;

const parent = new Context();
const child = new Context({ Parent: parentCtx });
parent.on("done", () => {
	console.log("parent done");
});

child.on("done", () => {
	console.log("child done");
});

console.log(child.Done()); // false

parent.Cancel();

console.log(child.Done()); // true

```

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