{"_id":"@alokbhade/smart-env","_rev":"3-7446b6d5fbd0c1e8ee2f42dee10414ef","name":"@alokbhade/smart-env","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@alokbhade/smart-env","version":"1.0.0","keywords":["dotenv","env","validation","config","typescript","cli"],"author":{"name":"Your Name"},"license":"MIT","_id":"@alokbhade/smart-env@1.0.0","maintainers":[{"name":"alokbhade","email":"bhadealok@gmail.com"}],"homepage":"https://github.com/alokbha/smart-env#readme","bugs":{"url":"https://github.com/alokbha/smart-env/issues"},"dist":{"shasum":"8385fb231823992104814143eb1478222f17ef09","tarball":"https://registry.npmjs.org/@alokbhade/smart-env/-/smart-env-1.0.0.tgz","fileCount":5,"integrity":"sha512-80RF05QjwuMr0EokTlSjoFmilamf4tdmpXTtsKqKBx2epwUy+0EJIubDVurhgsEQX4I3bCyVj/TRx6bPoETPUg==","signatures":[{"sig":"MEQCIA3X4oolehtrDC6mHTyJYOX5bGFCe4iWH8qclc53XbwrAiBVHrAFhtZkVA73puETW3s8h397B71uz4FZJhKAw5Nbog==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2754},"main":"index.js","gitHead":"b8f134207b986360d87ccf269b807d2538648979","_npmUser":{"name":"alokbhade","email":"bhadealok@gmail.com"},"repository":{"url":"git+https://github.com/alokbha/smart-env.git","type":"git"},"_npmVersion":"11.1.0","description":"Smart dotenv loader with validation, types, defaults, and error handling.","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/smart-env_1.0.0_1745093960962_0.43842885188524683","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@alokbhade/smart-env","version":"1.0.1","keywords":["dotenv","env","validation","config","typescript","cli"],"author":{"name":"Your Name"},"license":"MIT","_id":"@alokbhade/smart-env@1.0.1","maintainers":[{"name":"alokbhade","email":"bhadealok@gmail.com"}],"homepage":"https://github.com/alokbha/smart-env#readme","bugs":{"url":"https://github.com/alokbha/smart-env/issues"},"dist":{"shasum":"b643339bd57f07e1553f6e3fdaed10d41ff06f41","tarball":"https://registry.npmjs.org/@alokbhade/smart-env/-/smart-env-1.0.1.tgz","fileCount":5,"integrity":"sha512-b8Mf3AeUfWMeFebwW52ZhLB3g+WrOHjaC2IAmH4C76wlRSc0mKike19bohYslJ4yO7c+3FQQDKr7QoklJ9asJQ==","signatures":[{"sig":"MEUCIQCCZmxEZk7K9RyFWKVPE+lexRDtP0SFCf9wEVDnaMW4dAIgS3pUUkJudy20VNAhDjQ4r/HiQX9mKXsa4ILEZLuOuMc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2793},"main":"index.js","gitHead":"e6ee76c94fda2bc4abcf66a864d912d23b78df4d","_npmUser":{"name":"alokbhade","email":"bhadealok@gmail.com"},"repository":{"url":"git+https://github.com/alokbha/smart-env.git","type":"git"},"_npmVersion":"11.1.0","description":"Smart dotenv loader with validation, types, defaults, and error handling.","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/smart-env_1.0.1_1745094277693_0.5879113896038386","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@alokbhade/smart-env","version":"1.0.2","main":"index.js","description":"Smart dotenv loader with validation, types, defaults, and error handling.","keywords":["dotenv","env","validation","config","typescript","cli"],"author":{"name":"Your Name"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/alokbha/smart-env.git"},"_id":"@alokbhade/smart-env@1.0.2","gitHead":"1c12d77b519808d59315941fb64743d4311ffc1d","bugs":{"url":"https://github.com/alokbha/smart-env/issues"},"homepage":"https://github.com/alokbha/smart-env#readme","_nodeVersion":"22.12.0","_npmVersion":"11.1.0","dist":{"integrity":"sha512-f1bdN3vW0M3nc6hiTpnGS3NiGDlD8EudRZde+SKhG1tjhF4fQ5urF5eXoCreko8y6N7xTtseFNbq3qK3Ir6Hig==","shasum":"01d8a6f06bae69fe56e494177f9ea6d388da1730","tarball":"https://registry.npmjs.org/@alokbhade/smart-env/-/smart-env-1.0.2.tgz","fileCount":5,"unpackedSize":2793,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQChVkGBKsYyeAl/3PfSwOpiXdVxOeFiNRjF2fCuiTMFkAIhAPVhvqhGAW4EmHpZVyX5Br9Fq1/k6ngjIQmFhsdNEBnY"}]},"_npmUser":{"name":"alokbhade","email":"bhadealok@gmail.com"},"directories":{},"maintainers":[{"name":"alokbhade","email":"bhadealok@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/smart-env_1.0.2_1745094318146_0.578539527017222"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-19T20:19:20.850Z","modified":"2025-04-19T20:25:18.539Z","1.0.0":"2025-04-19T20:19:21.154Z","1.0.1":"2025-04-19T20:24:37.906Z","1.0.2":"2025-04-19T20:25:18.356Z"},"bugs":{"url":"https://github.com/alokbha/smart-env/issues"},"author":{"name":"Your Name"},"license":"MIT","homepage":"https://github.com/alokbha/smart-env#readme","keywords":["dotenv","env","validation","config","typescript","cli"],"repository":{"type":"git","url":"git+https://github.com/alokbha/smart-env.git"},"description":"Smart dotenv loader with validation, types, defaults, and error handling.","maintainers":[{"name":"alokbhade","email":"bhadealok@gmail.com"}],"readme":"# smart-env\r\n\r\nA smart `.env` loader for Node.js projects — supports **type-safe variables**, **default values**, **required checks**, and **developer-friendly error messages**.\r\n\r\nNo more crashes from missing `API_KEY`s or wrong types in `PORT`!\r\n\r\n---\r\n\r\n## 🚀 Features\r\n\r\n- ✅ Type coercion (`string`, `number`, `boolean`)\r\n- ⚙️ Default values\r\n- ❗ Required checks\r\n- 💥 Graceful error messages\r\n- 📦 Zero dependencies (besides `dotenv`)\r\n- 🧠 Simple API, easy to use\r\n\r\n---\r\n\r\n## 📦 Installation\r\n\r\n```bash\r\nnpm install @alokbhade/smart-env\r\n","readmeFilename":"README.md"}