@andrew_l/context 0.2.17 → 0.2.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +11 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Context Toolkit
2
2
 
3
- ![license](https://img.shields.io/npm/l/%40andrew_l%2Fcontext)
4
- ![npm version](https://img.shields.io/npm/v/%40andrew_l%2Fcontext)
5
- ![npm bundle size](https://img.shields.io/bundlephobia/minzip/%40andrew_l%2Fcontext)
3
+ [![npm version][npm-version-src]][npm-version-href]
4
+ ![license][license-src]
5
+ [![bundle][bundle-src]][bundle-href]
6
6
 
7
7
  A lightweight toolkit to bind asynchronous contexts, inspired by Vue's Composition API. Easily provide and inject values across asynchronous scopes with support for scoped disposal.
8
8
 
@@ -48,3 +48,11 @@ main();
48
48
  1. **Streamlined Context Management:** Provides an elegant solution for managing shared state across asynchronous functions without relying on global variables or complex patterns.
49
49
  2. **Scoped Cleanup:** Automatically dispose of resources or listeners when a scope is terminated.
50
50
  3. **Vue-Like Syntax:** Offers a familiar and intuitive API for developers with experience in Vue's Composition API.
51
+
52
+ <!-- Badges -->
53
+
54
+ [npm-version-src]: https://img.shields.io/npm/v/@andrew_l/context?style=flat
55
+ [npm-version-href]: https://npmjs.com/package/@andrew_l/context
56
+ [bundle-src]: https://img.shields.io/bundlephobia/min/@andrew_l/context?style=flat
57
+ [bundle-href]: https://bundlephobia.com/result?p=@andrew_l/context
58
+ [license-src]: https://img.shields.io/npm/l/@andrew_l/context?style=flat
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@andrew_l/context",
3
- "version": "0.2.17",
3
+ "version": "0.2.19",
4
4
  "description": "Like composition api but for Node.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -36,7 +36,7 @@
36
36
  "vitest": "^2.1.3"
37
37
  },
38
38
  "dependencies": {
39
- "@andrew_l/toolkit": "0.2.17"
39
+ "@andrew_l/toolkit": "0.2.19"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "unbuild",