runtime-reporter 0.4.0 → 0.4.1

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 +12 -10
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,18 +2,20 @@
2
2
 
3
3
  Structured runtime events for applications and frameworks. A composable foundation for logging, messaging, and runtime reporting.
4
4
 
5
+ Modern applications often rely on complex logging solutions or ad-hoc messaging systems to understand runtime behavior. These approaches can be difficult to integrate or are tightly coupled to specific environments. Runtime Reporter provides a lightweight, structured runtime event layer designed to simplify logging and messaging while remaining performant, secure, and framework-agnostic.
6
+
5
7
  ## Features
6
8
 
7
- - **Security focused**: Pass an empty message set in production to avoid exposing internal messaging.
8
- - **Centralized messages**: Define message text once; reference by a unique code everywhere else.
9
- - **Tokenized templates**: Apply runtime data to messages via templated strings and tokenized variables.
10
- - **Type-safe**: Autocomplete and compile-time validation for message codes and token names.
11
- - **Tree-shakeable**: Pass an empty message set in production to reduce your bundle size
12
- - **Test friendly**: Use `message()` to assert on final output without duplicating message text.
13
- - **Code-based messaging**: Coded messages make it easy to identify errors to perform debugging tasks.
14
- - **Small footprint**: Minimal bundle size (~2 KB minified) so it adds negligible weight to your app.
15
- - **Zero dependencies**: No runtime dependencies; the published package is fully self-contained.
16
- - **Scalable pattern**: Can scale to fit your specific needs regardless of your project's size.
9
+ - **Centralized messages**: Define message text once and reference it everywhere using stable message codes.
10
+ - **Code-based messaging**: Structured message identifiers make debugging and tracing runtime behavior easier.
11
+ - **Security conscious**: Prevent accidental exposure of sensitive data by omitting message definitions in production.
12
+ - **Type-safe**: Autocomplete and compile-time validation for message codes and template tokens.
13
+ - **Tokenized templates**: Inject runtime data using structured, reusable message templates.
14
+ - **Test friendly**: Assert against resolved messages without duplicating message text in tests.
15
+ - **Tree-shakeable**: Ship an empty message set in production to minimize bundle size.
16
+ - **Small footprint**: ~2 KB minified with negligible runtime overhead.
17
+ - **Zero dependencies**: Fully self-contained with no runtime dependencies.
18
+ - **Scales with your application**: Works equally well for small projects and large frameworks.
17
19
 
18
20
  ## Installation
19
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runtime-reporter",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Structured runtime events for applications and frameworks. A composable foundation for logging, messaging, and runtime reporting.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",