envapt 5.0.0 → 5.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 (3) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +12 -15
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # envapt
2
2
 
3
+ ## 5.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Replace the README hero table with a borderless side-by-side layout so GitHub and npm no longer draw table chrome (or the heading underline) around it, and drop the rule between the hero and the intro.
8
+
3
9
  ## 5.0.0
4
10
 
5
11
  ### Major Changes
package/README.md CHANGED
@@ -1,24 +1,21 @@
1
- <table border="0" cellspacing="0" cellpadding="0">
2
- <tr>
3
- <td width="160" valign="middle" align="center">
4
- <img src="https://raw.githubusercontent.com/materwelonDhruv/envapt/main/.github/assets/logo.png" width="120" alt="envapt logo" />
5
- </td>
6
- <td valign="middle">
7
- <h1>envapt</h1>
8
- <p>
9
- <strong>The apt way to handle environment variables.</strong><br/>
10
- Read them as typed values, with zero runtime dependencies and the same API on Node, Bun, and Deno.
11
- </p>
1
+ <img src="https://raw.githubusercontent.com/materwelonDhruv/envapt/main/.github/assets/logo.png" width="120" align="left" alt="envapt logo" />
2
+
3
+ <h3>envapt</h3>
4
+
5
+ <p>
6
+ <strong>The apt way to handle environment variables.</strong><br/>
7
+ Read them as typed values, with zero runtime dependencies and the same API on Node, Bun, and Deno.
8
+ </p>
9
+
10
+ <p>
12
11
  <a href="https://www.npmjs.com/package/envapt"><img alt="npm" src="https://img.shields.io/npm/v/envapt?logo=npm&logoColor=cb3838&label=%20&labelColor=103544&color=cb3838"></a>
13
12
  <a href="https://www.npmjs.com/package/envapt"><img alt="downloads" src="https://img.shields.io/npm/dm/envapt?style=flat&color=f7f6e8&labelColor=103544&label=downloads"></a>
14
13
  <a href="https://jsr.io/@materwelon/envapt"><img alt="jsr" src="https://jsr.io/badges/@materwelon/envapt"></a>
15
14
  <img alt="CI" src="https://img.shields.io/github/actions/workflow/status/materwelonDhruv/envapt/checks.yml?branch=main&label=tests&style=flat&logo=github&color=3fb950&labelColor=103544">
16
15
  <a href="LICENSE"><img alt="License" src="https://img.shields.io/npm/l/envapt?style=flat&color=e97826&logo=apache&label="></a>
17
- </td>
18
- </tr>
19
- </table>
16
+ </p>
20
17
 
21
- ---
18
+ <br clear="left"/>
22
19
 
23
20
  `process.env` always hands you a `string | undefined`. envapt returns the type you asked for, with a
24
21
  fallback that removes `undefined` from the return type.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "envapt",
3
3
  "type": "module",
4
- "version": "5.0.0",
4
+ "version": "5.0.1",
5
5
  "description": "Type-safe environment variables for TypeScript. Zero-dependency .env loader and parser with the same API on Node, Bun, and Deno. Decorators, converters, and Standard Schema (zod/valibot/arktype) validation.",
6
6
  "types": "./dist/index.d.mts",
7
7
  "exports": {