@oxog/pigment 1.1.1 → 1.2.0
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.
- package/README.md +5 -12
- package/dist/index-DsggPsSl.d.cts +1482 -0
- package/dist/index-DsggPsSl.d.ts +1482 -0
- package/dist/index.cjs +64 -43
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -4
- package/dist/index.d.ts +2 -4
- package/dist/index.js +64 -43
- package/dist/index.js.map +1 -1
- package/dist/plugins/index.cjs +62 -41
- package/dist/plugins/index.cjs.map +1 -1
- package/dist/plugins/index.d.cts +1 -3
- package/dist/plugins/index.d.ts +1 -3
- package/dist/plugins/index.js +62 -41
- package/dist/plugins/index.js.map +1 -1
- package/package.json +21 -11
- package/dist/index-C_LwyWae.d.cts +0 -564
- package/dist/index-C_LwyWae.d.ts +0 -564
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ Terminal styling with a micro-kernel plugin architecture and a Chalk-style chain
|
|
|
10
10
|
|
|
11
11
|
## Features
|
|
12
12
|
|
|
13
|
-
-
|
|
13
|
+
- **Zero runtime dependencies** - The `@oxog/plugin` kernel and `@oxog/types` are bundled into the build
|
|
14
14
|
- **Universal Runtime** - Works in Node.js and browsers with same API
|
|
15
15
|
- **Micro-Kernel Architecture** - Plugin system for extensibility
|
|
16
16
|
- **Chalk-style API** - Chainable default export (`chalk.red.bold('x')`) with a settable `level`; close to Chalk v5, not a full drop-in
|
|
@@ -398,22 +398,15 @@ interface Pigment {
|
|
|
398
398
|
| Module Format | ESM + CJS |
|
|
399
399
|
| Node.js | >= 18 |
|
|
400
400
|
| TypeScript | >= 5.0 |
|
|
401
|
-
| `dist/index.js` | ~70 KB, ~15 KB gzipped (bundles `@oxog/plugin`) |
|
|
401
|
+
| `dist/index.js` | ~70 KB, ~15 KB gzipped (bundles `@oxog/plugin` and `@oxog/types`) |
|
|
402
402
|
| `dist/plugins/index.js` | ~62 KB, ~14 KB gzipped |
|
|
403
403
|
| Test Coverage | 100% (enforced) |
|
|
404
404
|
|
|
405
405
|
## Dependencies
|
|
406
406
|
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
"@oxog/plugin": "^1.1.0",
|
|
411
|
-
"@oxog/types": "^1.1.2"
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
```
|
|
415
|
-
|
|
416
|
-
**@oxog ecosystem only** - Only @oxog packages as dependencies, no external libraries.
|
|
407
|
+
None at runtime. The `@oxog/plugin` micro-kernel and the `@oxog/types` code and
|
|
408
|
+
types Pigment uses are bundled into `dist` (JavaScript and type declarations),
|
|
409
|
+
so installing `@oxog/pigment` installs nothing else.
|
|
417
410
|
|
|
418
411
|
## License
|
|
419
412
|
|