@jeengbe/config 1.0.0 → 1.0.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 +15 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -16,6 +16,17 @@ Define your environment variables once as a schema, and get back a plain, fully
16
16
 
17
17
  The package is published to [npm](https://www.npmjs.com/package/@jeengbe/config) and [JSR](https://jsr.io/@jeengbe/config) as `@jeengbe/config`. Versions follow Semantic Versioning.
18
18
 
19
+ ```bash
20
+ npm install @jeengbe/config
21
+ ```
22
+
23
+ ```bash
24
+ pnpm add @jeengbe/config
25
+ yarn add @jeengbe/config
26
+ bun add @jeengbe/config
27
+ deno add jsr:@jeengbe/config
28
+ ```
29
+
19
30
  ## Usage
20
31
 
21
32
  ### Defining and loading a schema
@@ -134,3 +145,7 @@ const feature = ifEnabled('FEATURE_ENABLED', {
134
145
  ```
135
146
 
136
147
  This resolves to `{ enabled: true, apiKey: string }` when `FEATURE_ENABLED` is `'true'`, or `{ enabled: false }` otherwise.
148
+
149
+ ## License
150
+
151
+ [MIT](LICENSE) Jesper Engberg
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jeengbe/config",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A declarative, strongly typed schema for parsing and validating environment variables in TypeScript.",
5
5
  "keywords": [
6
6
  "config",
@@ -49,7 +49,7 @@
49
49
  "!src/**/fake.ts"
50
50
  ],
51
51
  "dependencies": {
52
- "@jeengbe/prelude": "0.1.4"
52
+ "@jeengbe/prelude": "0.1.5"
53
53
  },
54
54
  "devDependencies": {
55
55
  "oxfmt": "^0.60.0",