envapt 1.0.2 → 1.0.4

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/NOTICE CHANGED
@@ -1,2 +1,5 @@
1
+ Inspired by [Envuments](https://github.com/mason-rogers/envuments)
2
+
1
3
  This product includes software originally developed by Mason Rogers.
4
+
2
5
  Fully rewritten under the MIT License by Dhruv Jain.
package/README.md CHANGED
@@ -227,13 +227,12 @@ class Config extends Envapter {
227
227
  - `'boolean'` - Boolean values (true/false, yes/no, on/off, 1/0)
228
228
  - `'bigint'` - BigInt values for large integers
229
229
  - `'symbol'` - Symbol values (creates symbols from string descriptions)
230
- - `'time'` - Time values (converts "5s", "30m", "2h" to milliseconds)
231
230
  - `'json'` - JSON objects/arrays (safe parsing with fallback)
232
231
  - `'array'` - Comma-separated string arrays
233
232
  - `'url'` - URL objects
234
233
  - `'regexp'` - Regular expressions (supports `/pattern/flags` syntax)
235
234
  - `'date'` - Date objects (supports ISO strings and timestamps)
236
- - `'time'` - Values denoting time. Such as 100, 30ms, 5s, 10m, 1.5h. (parsed to ms)
235
+ - `'time'` - Time values (converts "5s", "30m", "2h" to milliseconds)
237
236
 
238
237
  #### Custom Array Converters
239
238
 
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020-2020 Mason Rogers <viction.dev@gmail.com>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ 'Software'), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "envapt",
3
3
  "type": "module",
4
- "version": "1.0.2",
4
+ "version": "1.0.4",
5
5
  "description": "The apt way to handle env",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.mjs",
@@ -22,7 +22,8 @@
22
22
  "dist",
23
23
  "NOTICE",
24
24
  "LICENSE",
25
- "README.md"
25
+ "README.md",
26
+ "envuments.license"
26
27
  ],
27
28
  "repository": {
28
29
  "type": "git",