{"_id":"@bintvn/lite-env","_rev":"14-46ce7a105f7180b66c4a3f6342476e78","name":"@bintvn/lite-env","dist-tags":{"latest":"1.0.12"},"versions":{"1.0.0":{"name":"@bintvn/lite-env","version":"1.0.0","keywords":["util","helper","environment","typescript"],"author":{"name":"Bintan","email":"hello@bintvn.co"},"license":"ISC","_id":"@bintvn/lite-env@1.0.0","maintainers":[{"name":"bintvn","email":"siregarbintan@gmail.com"}],"dist":{"shasum":"50045da20928fb841f7dafe137c9d398f2e84d1e","tarball":"https://registry.npmjs.org/@bintvn/lite-env/-/lite-env-1.0.0.tgz","fileCount":13,"integrity":"sha512-8zmMLQpNxlOZ1d2hAVrYtcm7GslQ+bcAuJ7LhegX2cDr/biwIlATi7ko2EQNIX6X24lBc+1hdrhgw41e9LLAjQ==","signatures":[{"sig":"MEQCICfaYVPoHpk6U3Bx0UBhAqyAwkJmAErcGj0V2xrvAmhQAiA+0AygZih9IF8Iz1u4yh/xwmFwfhml01yjbbK4/uXEhg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45920},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts --clean","prepare":"npm run build","typecheck":"tsc --noEmit --project tsconfig.json"},"_npmUser":{"name":"bintvn","email":"siregarbintan@gmail.com"},"_npmVersion":"11.12.1","description":"TypeScript based environment variable loader.","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^6.0.3","@types/node":"^25.9.3"},"_npmOperationalInternal":{"tmp":"tmp/lite-env_1.0.0_1781363627930_0.9957860658290447","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package has moved to 'lite-env'. Please update your dependencies to use the new package instead."},"1.0.1":{"name":"@bintvn/lite-env","version":"1.0.1","keywords":["util","helper","environment","typescript"],"author":{"name":"Bintan","email":"hello@bintvn.co"},"license":"ISC","_id":"@bintvn/lite-env@1.0.1","maintainers":[{"name":"bintvn","email":"siregarbintan@gmail.com"}],"dist":{"shasum":"b1b1eaf437ce6593729cf947e465069507746ab3","tarball":"https://registry.npmjs.org/@bintvn/lite-env/-/lite-env-1.0.1.tgz","fileCount":8,"integrity":"sha512-zcEGdkF9wid99wCDZtkAKgVErp7XnB5w9h31oyLU7QDCFoVDf1RA+scK2IT4Yxen0TB9gs0C7eVBzmz0WB8fNw==","signatures":[{"sig":"MEQCIElgZS8O8YZ7egGUpjuLt2geFAhb6FdBUvda+vL24kegAiBHbdDzwamH4jzEiGQJ14Pjnm42XxurvvG3ypPoSQzWRQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38284},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts --clean","prepare":"npm run build","typecheck":"tsc --noEmit --project tsconfig.json"},"_npmUser":{"name":"bintvn","email":"siregarbintan@gmail.com"},"_npmVersion":"11.12.1","description":"TypeScript based environment variable loader.","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^6.0.3","@types/node":"^25.9.3"},"_npmOperationalInternal":{"tmp":"tmp/lite-env_1.0.1_1781364726681_0.19666434348915152","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package has moved to 'lite-env'. Please update your dependencies to use the new package instead."},"1.0.2":{"name":"@bintvn/lite-env","version":"1.0.2","keywords":["util","helper","environment","typescript"],"author":{"name":"Bintan","email":"hello@bintvn.co"},"license":"ISC","_id":"@bintvn/lite-env@1.0.2","maintainers":[{"name":"bintvn","email":"siregarbintan@gmail.com"}],"dist":{"shasum":"a616a76e2158a598a0fe7e79d6c775215e562dbc","tarball":"https://registry.npmjs.org/@bintvn/lite-env/-/lite-env-1.0.2.tgz","fileCount":8,"integrity":"sha512-LGb0b3dOonYy6xT1jmkr0XubuVM0STzFER6qi8ASOQjryv32fbFIJfLnMrcQFDnnR+rkT2qtRsJoe190eku8Aw==","signatures":[{"sig":"MEQCICrYtlxS4hP62+UYekKvrFdodbg8O+xfCOGMMfk8ZmcMAiA0jzLueO9+7cGdpGqEinlTmRcf2M0Iw9TWZHcMSyXLTg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38340},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts --clean","prepare":"npm run build","typecheck":"tsc --noEmit --project tsconfig.json"},"_npmUser":{"name":"bintvn","email":"siregarbintan@gmail.com"},"_npmVersion":"11.12.1","description":"TypeScript based environment variable loader.","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^6.0.3","@types/node":"^25.9.3"},"_npmOperationalInternal":{"tmp":"tmp/lite-env_1.0.2_1781364858189_0.17788887499680928","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package has moved to 'lite-env'. Please update your dependencies to use the new package instead."},"1.0.3":{"name":"@bintvn/lite-env","version":"1.0.3","keywords":["util","helper","environment","typescript"],"author":{"name":"Bintan","email":"hello@bintvn.co"},"license":"ISC","_id":"@bintvn/lite-env@1.0.3","maintainers":[{"name":"bintvn","email":"siregarbintan@gmail.com"}],"dist":{"shasum":"cc5e2427a048aab16d3e692775eae271cbf4c2e4","tarball":"https://registry.npmjs.org/@bintvn/lite-env/-/lite-env-1.0.3.tgz","fileCount":8,"integrity":"sha512-rclHXUTa7+QbQ4V+TGmtLgPnbRjYsn1ZT1DULlbAJ30/NyccL1808hsww1P30zh1d+ZVPz0o1AbdqPOw/sVqHQ==","signatures":[{"sig":"MEUCIQCJ04+ZDTBtQUuq5UtuBuk61CCnOCTg+d73HqIVXvO1zQIgIunGR5apVHp/FOsJ5HHnNNMvZ0kf/KLbVTqDbCF36Hw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38854},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts --clean","prepare":"npm run build","typecheck":"tsc --noEmit --project tsconfig.json"},"_npmUser":{"name":"bintvn","email":"siregarbintan@gmail.com"},"_npmVersion":"11.12.1","description":"TypeScript based environment variable loader.","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^6.0.3","@types/node":"^25.9.3"},"_npmOperationalInternal":{"tmp":"tmp/lite-env_1.0.3_1781366505201_0.695672446014443","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package has moved to 'lite-env'. Please update your dependencies to use the new package instead."},"1.0.4":{"name":"@bintvn/lite-env","version":"1.0.4","keywords":["util","helper","environment","typescript"],"author":{"name":"Bintan","email":"hello@bintvn.co"},"license":"ISC","_id":"@bintvn/lite-env@1.0.4","maintainers":[{"name":"bintvn","email":"siregarbintan@gmail.com"}],"dist":{"shasum":"1c7d0643853aa13db549ff7412375592b0eb5f66","tarball":"https://registry.npmjs.org/@bintvn/lite-env/-/lite-env-1.0.4.tgz","fileCount":8,"integrity":"sha512-vMS1t1Yq/yHNYfA+eldeezQoVRwn5DqVz2Zqtsy7uvLV1d6R/bnebJwvoRRFCBY4B51/S2IGWaIu8QEm7k3KeA==","signatures":[{"sig":"MEYCIQCGFWk7AQbpYhQh4Zv3+AXGgjr2uK/ObhoJXDa1I1GzrQIhAJt87vyTBAj0x9g9Q9o5RMLquZQypMNZm/Bmt0B35wuS","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38408},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts --clean","prepare":"npm run build","typecheck":"tsc --noEmit --project tsconfig.json"},"_npmUser":{"name":"bintvn","email":"siregarbintan@gmail.com"},"_npmVersion":"11.12.1","description":"TypeScript based environment variable loader.","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^6.0.3","@types/node":"^25.9.3"},"_npmOperationalInternal":{"tmp":"tmp/lite-env_1.0.4_1781368174543_0.5732734182102772","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package has moved to 'lite-env'. Please update your dependencies to use the new package instead."},"1.0.5":{"name":"@bintvn/lite-env","version":"1.0.5","keywords":["util","helper","environment","typescript"],"author":{"name":"Bintan","email":"hello@bintvn.co"},"license":"ISC","_id":"@bintvn/lite-env@1.0.5","maintainers":[{"name":"bintvn","email":"siregarbintan@gmail.com"}],"dist":{"shasum":"74e0bd6e64b6716285ee216a5d3a5c52274c3f9e","tarball":"https://registry.npmjs.org/@bintvn/lite-env/-/lite-env-1.0.5.tgz","fileCount":8,"integrity":"sha512-ecMKOtNdMq8bJ0yRnRz+3rJdUi46ZLYyqCDqhacMtxt0AlnzqBqcVZsx7aa7w75hbaZgzvPbN2TU/oEiORN0VQ==","signatures":[{"sig":"MEQCIBc5eqckvoG/oQecg3Lb482WnvTuhTFACI3uIu9mfypfAiBxNAec0/cGKnkQiYdvC87rSjv16EkxzTwPGqX/bGjl2A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38408},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts --clean","prepare":"npm run build","typecheck":"tsc --noEmit --project tsconfig.json"},"_npmUser":{"name":"bintvn","email":"siregarbintan@gmail.com"},"_npmVersion":"11.12.1","description":"TypeScript based environment variable loader.","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^6.0.3","@types/node":"^25.9.3"},"_npmOperationalInternal":{"tmp":"tmp/lite-env_1.0.5_1781389996207_0.1360700108694024","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package has moved to 'lite-env'. Please update your dependencies to use the new package instead."},"1.0.6":{"name":"@bintvn/lite-env","version":"1.0.6","keywords":["util","helper","environment","typescript"],"author":{"name":"Bintan","email":"hello@bintvn.co"},"license":"ISC","_id":"@bintvn/lite-env@1.0.6","maintainers":[{"name":"bintvn","email":"siregarbintan@gmail.com"}],"dist":{"shasum":"ac66c753dbe9f745e8c6617cd6499d4011e3c1c6","tarball":"https://registry.npmjs.org/@bintvn/lite-env/-/lite-env-1.0.6.tgz","fileCount":8,"integrity":"sha512-HlwU0mj+S59cEIetH0bxEFFsMdAvFVAE60Q/7zuwMuI0tpvHfTzUmYgb92wr5raCz8dhSkt6aRnCfwpoGa703g==","signatures":[{"sig":"MEQCIB6jztFS9B2qyOonlKILYMxLq+W4wOcDXnI1K//rIsz6AiAZbSubQfzQ9GoiPXIYw+CuV/RKpXWq5H/YOIlsfatMTA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38884},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts --clean","prepare":"npm run build","typecheck":"tsc --noEmit --project tsconfig.json"},"_npmUser":{"name":"bintvn","email":"siregarbintan@gmail.com"},"_npmVersion":"11.12.1","description":"TypeScript based environment variable loader.","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^6.0.3","@types/node":"^25.9.3"},"_npmOperationalInternal":{"tmp":"tmp/lite-env_1.0.6_1781390981335_0.3686430087526762","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package has moved to 'lite-env'. Please update your dependencies to use the new package instead."},"1.0.7":{"name":"@bintvn/lite-env","version":"1.0.7","keywords":["util","helper","environment","typescript"],"author":{"name":"Bintan","email":"hello@bintvn.co"},"license":"ISC","_id":"@bintvn/lite-env@1.0.7","maintainers":[{"name":"bintvn","email":"siregarbintan@gmail.com"}],"dist":{"shasum":"852d6150e54fc324154a4d11b6101cdef4a69698","tarball":"https://registry.npmjs.org/@bintvn/lite-env/-/lite-env-1.0.7.tgz","fileCount":8,"integrity":"sha512-YySH6V0Ai4LG73N8wIPq8uEnh2PVV3jMX+10Kku8hfliQBgsVDR6smhBgNhFIEeNkPRyKP7/3lK+5mMNWt2aAQ==","signatures":[{"sig":"MEUCIEOwbQjAj4HDHMAYnk0S8tQrH9KLziAs4+6EXXXk67KhAiEAh/MBGkBWl1xTLZjaxv30oz1SNUF17k2xh0s/7e7PzzU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39374},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts --clean","prepare":"npm run build","typecheck":"tsc --noEmit --project tsconfig.json"},"_npmUser":{"name":"bintvn","email":"siregarbintan@gmail.com"},"_npmVersion":"11.12.1","description":"TypeScript based environment variable loader.","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^6.0.3","@types/node":"^25.9.3"},"_npmOperationalInternal":{"tmp":"tmp/lite-env_1.0.7_1781392082976_0.604283723810342","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package has moved to 'lite-env'. Please update your dependencies to use the new package instead."},"1.0.8":{"name":"@bintvn/lite-env","version":"1.0.8","keywords":["util","helper","environment","typescript"],"author":{"name":"Bintan","email":"hello@bintvn.co"},"license":"ISC","_id":"@bintvn/lite-env@1.0.8","maintainers":[{"name":"bintvn","email":"siregarbintan@gmail.com"}],"dist":{"shasum":"c59000931dabc4fc480f00838e4dcd7969a4b366","tarball":"https://registry.npmjs.org/@bintvn/lite-env/-/lite-env-1.0.8.tgz","fileCount":8,"integrity":"sha512-kV/jAPKH/Uc+789yB7uI6V7ApRvzqgTEgUNwqbi6oTb1iRMGfHP3o2FRokXKvU0RbX5Ma5YNJs2PUk4NklerGg==","signatures":[{"sig":"MEUCIQCvuJqRx/lL2vjpYnReWbP0K1hv0epFvqWCNSNi+y+e3gIgXnAC6JZdfup3J4j9esHrKoMbr9y4DSn9pQq4eaEze8k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39054},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts --clean","prepare":"npm run build","typecheck":"tsc --noEmit --project tsconfig.json"},"_npmUser":{"name":"bintvn","email":"siregarbintan@gmail.com"},"_npmVersion":"11.12.1","description":"TypeScript based environment variable loader.","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^6.0.3","@types/node":"^25.9.3"},"_npmOperationalInternal":{"tmp":"tmp/lite-env_1.0.8_1781392165419_0.26401871107983244","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package has moved to 'lite-env'. Please update your dependencies to use the new package instead."},"1.0.9":{"name":"@bintvn/lite-env","version":"1.0.9","keywords":["util","helper","environment","typescript"],"author":{"name":"Bintan","email":"hello@bintvn.co"},"license":"ISC","_id":"@bintvn/lite-env@1.0.9","maintainers":[{"name":"bintvn","email":"siregarbintan@gmail.com"}],"dist":{"shasum":"5061e0b3f31e9306ae566ad4c77f19ce323e329c","tarball":"https://registry.npmjs.org/@bintvn/lite-env/-/lite-env-1.0.9.tgz","fileCount":8,"integrity":"sha512-uqVqcwTJAJgNtCbiyZwnEtgqpLTDabq0S8vZBYuNrf8Ph7JNklFexS+3H2IGufZqrcXo5WZKZl1KAkG90DYdMA==","signatures":[{"sig":"MEYCIQCWmdxjm6gc/oqngp9LUA/utwYxOuojwLdwA1D5TP7MlgIhAJIINKwCMM8/ctwZ34LG8EPWwiYhd3ZOUSClYw2Cjosi","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39574},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts --clean","prepare":"npm run build","typecheck":"tsc --noEmit --project tsconfig.json"},"_npmUser":{"name":"bintvn","email":"siregarbintan@gmail.com"},"_npmVersion":"11.12.1","description":"TypeScript based environment variable loader.","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^6.0.3","@types/node":"^25.9.3"},"_npmOperationalInternal":{"tmp":"tmp/lite-env_1.0.9_1781394059422_0.33330884968014685","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package has moved to 'lite-env'. Please update your dependencies to use the new package instead."},"1.0.10":{"name":"@bintvn/lite-env","version":"1.0.10","keywords":["util","helper","environment","typescript"],"author":{"name":"Bintan","email":"hello@bintvn.co"},"license":"ISC","_id":"@bintvn/lite-env@1.0.10","maintainers":[{"name":"bintvn","email":"siregarbintan@gmail.com"}],"dist":{"shasum":"6845366c65cb869c0b294cf22db0ba18f3d12839","tarball":"https://registry.npmjs.org/@bintvn/lite-env/-/lite-env-1.0.10.tgz","fileCount":8,"integrity":"sha512-NtaKTkKo/PAv0G3mJbMtuDB4I5RWXgTykRfQtjs/5KkRP2ZfanZKkIbUpeB0vxU2P8BnM/t/ovBpk2jViyFhug==","signatures":[{"sig":"MEUCIA2gK0oCloAxwbT7FZwKbKIZ2pzuGwzcefk4UEuq756ZAiEAgiMoDrbriWJzstocY7vCCp6NladCcD+79N5JmBAjwd0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40639},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts --clean","prepare":"npm run build","typecheck":"tsc --noEmit --project tsconfig.json"},"_npmUser":{"name":"bintvn","email":"siregarbintan@gmail.com"},"_npmVersion":"11.12.1","description":"TypeScript based environment variable loader.","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^6.0.3","@types/node":"^25.9.3"},"_npmOperationalInternal":{"tmp":"tmp/lite-env_1.0.10_1781397084805_0.6652853030996178","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package has moved to 'lite-env'. Please update your dependencies to use the new package instead."},"1.0.11":{"name":"@bintvn/lite-env","version":"1.0.11","keywords":["util","helper","environment","typescript","nodejs","env"],"author":{"name":"Bintan","email":"hello@bintvn.co"},"license":"ISC","_id":"@bintvn/lite-env@1.0.11","maintainers":[{"name":"bintvn","email":"siregarbintan@gmail.com"}],"dist":{"shasum":"b3681b36776dff89c311cdc9642389b416b163f2","tarball":"https://registry.npmjs.org/@bintvn/lite-env/-/lite-env-1.0.11.tgz","fileCount":8,"integrity":"sha512-mvMcsXsVygWV44q5tFMJ+8XSPkkdiTLvZ7Ox0Za2lZjHHrOKyJ/CMyoxgq3QPWqhR7ky8XEdpixkX0jPSmua0g==","signatures":[{"sig":"MEQCIBh37ya2a1lWQXFzf47/XpNuVaEqtjMutWyBFMGEvZd+AiB+K4XqWPpocYQ6rQ/MNGDVRxaEwsw7CqBjYlMMGCQmkg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40665},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts --clean","prepare":"npm run build","typecheck":"tsc --noEmit --project tsconfig.json"},"_npmUser":{"name":"bintvn","email":"siregarbintan@gmail.com"},"_npmVersion":"11.12.1","description":"TypeScript based environment variable loader.","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^6.0.3","@types/node":"^25.9.3"},"_npmOperationalInternal":{"tmp":"tmp/lite-env_1.0.11_1781876051306_0.30893813567420003","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package has moved to 'lite-env'. Please update your dependencies to use the new package instead."},"1.0.12":{"name":"@bintvn/lite-env","version":"1.0.12","keywords":["util","helper","environment","typescript","nodejs","env"],"author":{"name":"Bintan","email":"hello@bintvn.co"},"license":"ISC","_id":"@bintvn/lite-env@1.0.12","maintainers":[{"name":"bintvn","email":"siregarbintan@gmail.com"}],"dist":{"shasum":"9e7af121060a210dc06562ed7ec820e04b3941ba","tarball":"https://registry.npmjs.org/@bintvn/lite-env/-/lite-env-1.0.12.tgz","fileCount":8,"integrity":"sha512-m2t+lCFRwh6F3zpRszRdAhULFcuLSoozgYa2HNOTZo7ooNBWqNLq5uVOQuO3jmBvOgpqP3UurYII4DOYeZNhig==","signatures":[{"sig":"MEQCICRrHkk8yU62At3RptaFjnVesvnhgahOlkiO4cJ8VWv8AiB9XkrVBmE3+RzjhvfogXViFVikPyH088m2wowcqccNkQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40798},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"2bee8dcd30131f789f6392a921476a12edc3f0ef","scripts":{"build":"tsup src/index.ts --format cjs,esm --dts --clean","prepare":"npm run build","typecheck":"tsc --noEmit --project tsconfig.json"},"_npmUser":{"name":"bintvn","email":"siregarbintan@gmail.com"},"_npmVersion":"11.12.1","description":"TypeScript based environment variable loader.","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^6.0.3","@types/node":"^25.9.3"},"_npmOperationalInternal":{"tmp":"tmp/lite-env_1.0.12_1781920725638_0.06631792121781621","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package has moved to 'lite-env'. Please update your dependencies to use the new package instead."}},"time":{"created":"2026-06-13T15:13:47.755Z","modified":"2026-06-20T02:00:00.680Z","1.0.0":"2026-06-13T15:13:48.135Z","1.0.1":"2026-06-13T15:32:06.803Z","1.0.2":"2026-06-13T15:34:18.328Z","1.0.3":"2026-06-13T16:01:45.431Z","1.0.4":"2026-06-13T16:29:34.697Z","1.0.5":"2026-06-13T22:33:16.338Z","1.0.6":"2026-06-13T22:49:41.476Z","1.0.7":"2026-06-13T23:08:03.104Z","1.0.8":"2026-06-13T23:09:25.558Z","1.0.9":"2026-06-13T23:40:59.577Z","1.0.10":"2026-06-14T00:31:24.931Z","1.0.11":"2026-06-19T13:34:11.483Z","1.0.12":"2026-06-20T01:58:45.777Z"},"author":{"name":"Bintan","email":"hello@bintvn.co"},"license":"ISC","keywords":["util","helper","environment","typescript","nodejs","env"],"description":"TypeScript based environment variable loader.","maintainers":[{"name":"bintvn","email":"siregarbintan@gmail.com"}],"readme":"# ⚠️ DEPRECATED / MOVED\n\n> This package has moved and is deprecated. Please use [`lite-env`](https://www.npmjs.com/package/lite-env) for new installs and future usage.\n\n# @bintvn/lite-env\n\n`@bintvn/lite-env` is a small TypeScript-first environment loader for Node.js. It reads `.env` and `.env.{NODE_ENV}`, merges them, parses values into runtime types, and returns a type-safe object inferred from your schema.\n\n## Features\n\n- Loads `.env` and `.env.{NODE_ENV}`\n- Infers the return type from the schema you pass to `loadEnv`\n- Parses common value types: `string`, `number`, `boolean`, `array`, `object`, `buffer`, and `date`\n- Can optionally reject unknown keys in your env files\n- Stores the parsed result in a global cache to avoid reloading\n\n## Installation\n\n```bash\nnpm install lite-env\n```\n\n## Quick Start\n\nCreate your env files:\n\n```env\n# .env\nAPP_NAME=lite-env\nPORT=3000\nDEBUG=false\n```\n\n```env\n# .env.development\nDEBUG=true\nTAGS=api,dev,local\n```\n\nUse `loadEnv` in your app:\n\n```ts\nimport { loadEnv } from 'lite-env'\n\nconst env = loadEnv({\n  APP_NAME: 'string',\n  PORT: 'number',\n  DEBUG: 'boolean',\n  TAGS: 'array',\n}, true, 'development')\n\nenv.APP_NAME\n// string\n\nenv.PORT\n// number\n\nenv.DEBUG\n// boolean\n\nenv.TAGS\n// string[]\n```\n\n## How It Works\n\n`loadEnv` looks for:\n\n- `.env`\n- `.env.{NODE_ENV}`\n\nThe values from `.env.{NODE_ENV}` override values from `.env`.\n\nIf `NODE_ENV` is not provided:\n\n- it uses `process.env.NODE_ENV` if available\n- otherwise it defaults to `production`\n\n## API\n\n### `loadEnv(schema, bypassUnknownEnvKeys?, NODE_ENV?)`\n\n```ts\nfunction loadEnv<TSchema extends AllowedEnvKeys = {}>(\n  schema?: TSchema,\n  bypassUnknownEnvKeys?: boolean,\n  NODE_ENV?: string\n): LoadedEnv<TSchema>\n```\n\n#### Parameters\n\n- `schema`: a map of env keys to parser kinds\n- `bypassUnknownEnvKeys`: when `true`, unknown env keys are allowed; when `false`, unknown keys throw an error\n- `NODE_ENV`: optional environment name used to resolve `.env.{NODE_ENV}`\n\n#### Return Value\n\nReturns a parsed object with types inferred from the schema.\n\nExample:\n\n```ts\nconst env = loadEnv({\n  PORT: 'number',\n  ENABLE_LOGS: 'boolean',\n  START_DATE: 'date',\n})\n\n// inferred type:\n// {\n//   PORT: number\n//   ENABLE_LOGS: boolean\n//   START_DATE: Date\n// }\n```\n\n## Supported Types\n\n`lite-env` currently supports the following schema kinds:\n\n| Schema value | Result type | Notes |\n| --- | --- | --- |\n| `string` | `string` | Raw string |\n| `number` | `number` | Uses `Number(value)` |\n| `boolean` | `boolean` | Accepts `true`, `false`, `1`, `0` |\n| `array` | `string[]` | Splits by comma |\n| `object` | `unknown` | Uses `JSON.parse` |\n| `buffer` | `Buffer` | Uses `Buffer.from(value, 'base64')` |\n| `date` | `Date` | Uses `new Date(value)` |\n\n## Type Inference\n\nThe main goal of `lite-env` is type-safe inference from the input schema.\n\n```ts\nconst env = loadEnv({\n  DB_HOST: 'string',\n  DB_PORT: 'number',\n  DB_SSL: 'boolean',\n})\n```\n\nTypeScript infers:\n\n```ts\n{\n  DB_HOST: string\n  DB_PORT: number\n  DB_SSL: boolean\n}\n```\n\n`object` currently resolves to `unknown` on purpose, so the public API stays simple.\n\n## Unknown Key Behavior\n\nBy default, `bypassUnknownEnvKeys` is `true`.\n\nThat means:\n\n- extra keys in your env files are allowed\n- raw merged env values are copied into `process.env`\n\nIf you want strict validation, pass `false`:\n\n```ts\nconst env = loadEnv({\n  PORT: 'number',\n  DEBUG: 'boolean',\n}, false)\n```\n\nIn strict mode, any key found in the env files but not declared in the schema will throw an error.\n\n## Notes\n\n- Parsed results are cached in `globalThis.liteEnv`\n- If you call `loadEnv()` multiple times with different schemas in the same runtime, the cached result is reused\n- Missing declared keys are currently skipped instead of throwing\n- `.env` must exist\n- `.env.{NODE_ENV}` must also exist\n\n## Example Project Structure\n\n```txt\nyour-project/\n├─ .env\n├─ .env.development\n├─ src/\n│  └─ index.ts\n```\n\n## License\n\nISC\n","readmeFilename":"README.md"}