{"_id":"@cjkihl/with-coolify-env","_rev":"10-18748e817d379fd3f91a3e20ed413691","name":"@cjkihl/with-coolify-env","dist-tags":{"latest":"1.0.9"},"versions":{"1.0.0":{"name":"@cjkihl/with-coolify-env","version":"1.0.0","keywords":["coolify","environment","variables","api","cli","deployment","configuration","env"],"author":{"name":"@cjkihl"},"license":"MIT","_id":"@cjkihl/with-coolify-env@1.0.0","maintainers":[{"name":"caki0915","email":"carljohan.kihl@gmail.com"}],"homepage":"https://github.com/cjkihl/cjkihl#readme","bugs":{"url":"https://github.com/cjkihl/cjkihl/issues"},"bin":{"with-env":"dist/output/with-env.bin.js"},"dist":{"shasum":"23b4b2db9119b682be5b4db67502c50c25ca127e","tarball":"https://registry.npmjs.org/@cjkihl/with-coolify-env/-/with-coolify-env-1.0.0.tgz","fileCount":23,"integrity":"sha512-FohnxzpyTjbvSgxTzb57OAZsE7XWBr6bYDxhGD6X7bZD91LQX75QjTr38LRlYhNrHAN814cLJNGVkbEPnXNcPw==","signatures":[{"sig":"MEUCIQDkroZKwiutR0qKPCiz5OfIpmL9akNm26nJrlEAQUkApQIgF0/ZomP8F8CngQ3bPxXRs6IxE9cFKxLNih52vni/Tq4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":82709},"type":"module","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/types/index.pub.d.ts","default":"./dist/output/index.pub.js"}},"funding":{"url":"https://github.com/sponsors/cjkihl","type":"github"},"gitHead":"a6ad9dba8352bbe6dd43f3a2b39d761ede1642a3","scripts":{"build":"tsc && bun ../create-exports/create-exports.bin.ts"},"_npmUser":{"name":"caki0915","actor":{"name":"caki0915","type":"user","email":"carljohan.kihl@gmail.com"},"email":"carljohan.kihl@gmail.com"},"repository":{"url":"git+https://github.com/cjkihl/cjkihl.git","type":"git"},"_npmVersion":"10.8.2","description":"Load environment variables from Coolify and execute commands with those variables","directories":{},"_nodeVersion":"20.19.2","dependencies":{"dotenv":"^16.5.0","@cjkihl/find-root":"1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/with-coolify-env_1.0.0_1750320015638_0.7951297150310339","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@cjkihl/with-coolify-env","version":"1.0.1","keywords":["coolify","environment","variables","api","cli","deployment","configuration","env"],"author":{"name":"@cjkihl"},"license":"MIT","_id":"@cjkihl/with-coolify-env@1.0.1","maintainers":[{"name":"caki0915","email":"carljohan.kihl@gmail.com"}],"homepage":"https://github.com/cjkihl/cjkihl#readme","bugs":{"url":"https://github.com/cjkihl/cjkihl/issues"},"bin":{"with-coolify-env":"dist/output/with-coolify-env.bin.js"},"dist":{"shasum":"f0dce99b6216e20ba88dd61e89532d40237f0bcb","tarball":"https://registry.npmjs.org/@cjkihl/with-coolify-env/-/with-coolify-env-1.0.1.tgz","fileCount":23,"integrity":"sha512-F5Ay4ILtgipA5ezpImGd7R+0xysZg3njNkQyZ7wT0Z7ZBh13Eg2AtkHwnNXC40Ux93duItqm56Of/m9ISxgQCA==","signatures":[{"sig":"MEYCIQCjr7TrOrSm4zO68B6EXbScQjgrtp0yh649csxs3FfkNgIhAL2NW4wD4kw9SehYRo//yYZx29CEE4E8TVKBb6snjF4N","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":79626},"type":"module","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/types/index.pub.d.ts","default":"./dist/output/index.pub.js"}},"funding":{"url":"https://github.com/sponsors/cjkihl","type":"github"},"gitHead":"25c3586e082180ee67ba6ca48bf8ad3f323ecc4d","scripts":{"build":"tsc && bun ../create-exports/create-exports.bin.ts"},"_npmUser":{"name":"caki0915","actor":{"name":"caki0915","type":"user","email":"carljohan.kihl@gmail.com"},"email":"carljohan.kihl@gmail.com"},"repository":{"url":"git+https://github.com/cjkihl/cjkihl.git","type":"git"},"_npmVersion":"10.8.2","description":"Load environment variables from Coolify and execute commands with those variables","directories":{},"_nodeVersion":"20.19.2","dependencies":{"execa":"^9.6.0","dotenv":"^16.5.0","commander":"^14.0.0","@cjkihl/find-root":"1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/with-coolify-env_1.0.1_1750384988400_0.48537781942345504","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@cjkihl/with-coolify-env","version":"1.0.2","keywords":["coolify","environment","variables","api","cli","deployment","configuration","env"],"author":{"name":"@cjkihl"},"license":"MIT","_id":"@cjkihl/with-coolify-env@1.0.2","maintainers":[{"name":"caki0915","email":"carljohan.kihl@gmail.com"}],"homepage":"https://github.com/cjkihl/cjkihl#readme","bugs":{"url":"https://github.com/cjkihl/cjkihl/issues"},"bin":{"with-coolify-env":"dist/output/with-coolify-env.bin.js"},"dist":{"shasum":"a069c165e1363eca41da782dbd7014f00e1dd28a","tarball":"https://registry.npmjs.org/@cjkihl/with-coolify-env/-/with-coolify-env-1.0.2.tgz","fileCount":23,"integrity":"sha512-gmSZgkqcELeziRlZpNtaiA1LVpV7wFeKmb+lpruWmTqbYzxBhHaHxLWv11Qep67plfOXW5E9kP6R5Z7P0Fk9gQ==","signatures":[{"sig":"MEQCIF1Ri7nMBKzEkqFK/sBWVOnfXnqxyZkRSZOGl0zzPBkWAiBiSdOLoXHBcpo4pZO3WJLCjKf2MA9z8J9rXyaOr//xYQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":79660},"type":"module","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/types/index.pub.d.ts","default":"./dist/output/index.pub.js"}},"funding":{"url":"https://github.com/sponsors/cjkihl","type":"github"},"gitHead":"8981fc1c944b1fc4fc27ca0ec6c0f8e57f82ef33","scripts":{"build":"tsc && bun ../create-exports/create-exports.bin.ts","type-check":"tsc --noEmit"},"_npmUser":{"name":"caki0915","actor":{"name":"caki0915","type":"user","email":"carljohan.kihl@gmail.com"},"email":"carljohan.kihl@gmail.com"},"repository":{"url":"git+https://github.com/cjkihl/cjkihl.git","type":"git"},"_npmVersion":"10.8.2","description":"Load environment variables from Coolify and execute commands with those variables","directories":{},"_nodeVersion":"20.19.2","dependencies":{"execa":"^9.6.0","dotenv":"^16.5.0","commander":"^14.0.0","@cjkihl/find-root":"1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/with-coolify-env_1.0.2_1750906231637_0.5355666729066826","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@cjkihl/with-coolify-env","version":"1.0.3","keywords":["coolify","environment","variables","api","cli","deployment","configuration","env"],"author":{"name":"@cjkihl"},"license":"MIT","_id":"@cjkihl/with-coolify-env@1.0.3","maintainers":[{"name":"caki0915","email":"carljohan.kihl@gmail.com"}],"homepage":"https://github.com/cjkihl/cjkihl#readme","bugs":{"url":"https://github.com/cjkihl/cjkihl/issues"},"bin":{"with-coolify-env":"dist/output/with-coolify-env.bin.js"},"dist":{"shasum":"39168546eb449ffa960f9da45d055351e0e41311","tarball":"https://registry.npmjs.org/@cjkihl/with-coolify-env/-/with-coolify-env-1.0.3.tgz","fileCount":23,"integrity":"sha512-6QhdNgzs4i88yVDG8ythgTJQU2PR2ITKVb3WKmgLupHmIL14rNHyXu2Bi67Dy+tmNrpgSsXdVyUPkRqYGFGiJw==","signatures":[{"sig":"MEYCIQDh/OSTK3VvLAVGzJovkSt7As/TkIrfaV6nP5T/YpJdOgIhAIZTj9GHer5fV8vUeSX3n9WmKSSYqNnGU0oEK99fO+5X","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":80632},"type":"module","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/types/index.pub.d.ts","default":"./dist/output/index.pub.js"}},"funding":{"url":"https://github.com/sponsors/cjkihl","type":"github"},"gitHead":"fdcc76fe342906b61da8fa1afe776b8ea4c41db4","scripts":{"build":"tsc && bun ../create-exports/create-exports.bin.ts","type-check":"tsc --noEmit"},"_npmUser":{"name":"caki0915","email":"carljohan.kihl@gmail.com"},"repository":{"url":"git+https://github.com/cjkihl/cjkihl.git","type":"git"},"_npmVersion":"10.8.2","description":"Load environment variables from Coolify and execute commands with those variables","directories":{},"_nodeVersion":"20.19.5","dependencies":{"execa":"^9.6.0","dotenv":"^17.2.1","commander":"^14.0.0","@cjkihl/find-root":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/with-coolify-env_1.0.3_1757664534614_0.23728881449741923","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@cjkihl/with-coolify-env","version":"1.0.4","keywords":["coolify","environment","variables","api","cli","deployment","configuration","env"],"author":{"name":"@cjkihl"},"license":"MIT","_id":"@cjkihl/with-coolify-env@1.0.4","maintainers":[{"name":"caki0915","email":"carljohan.kihl@gmail.com"}],"homepage":"https://github.com/cjkihl/cjkihl#readme","bugs":{"url":"https://github.com/cjkihl/cjkihl/issues"},"bin":{"with-coolify-env":"dist/output/with-coolify-env.bin.js"},"dist":{"shasum":"74b5853687b6145df7f88c2932a1ce1772be4bb1","tarball":"https://registry.npmjs.org/@cjkihl/with-coolify-env/-/with-coolify-env-1.0.4.tgz","fileCount":23,"integrity":"sha512-J4OGIgKUmJcQJz0Ddwd+ttjO4aTDnawphS5pemO3bgmPKVsK4c/wzrDIHWPBw9965dDmSLaRoAylxBm42uxXIw==","signatures":[{"sig":"MEYCIQCC/kI94e0VFGhQOsWdJmM+ujZ+5uRdzb9G63SLM+3uMQIhALQyIcmnClPGa89QYg3/hvr941L24sQ2JRzMqhCQ3dcg","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":83571},"type":"module","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/types/index.pub.d.ts","default":"./dist/output/index.pub.js"}},"funding":{"url":"https://github.com/sponsors/cjkihl","type":"github"},"gitHead":"05e7f6e5ebac8c7e7a590da7d8da90307ec2448d","scripts":{"build":"tsc && bun ../create-exports/create-exports.bin.ts","type-check":"tsc --noEmit"},"_npmUser":{"name":"caki0915","email":"carljohan.kihl@gmail.com"},"repository":{"url":"git+https://github.com/cjkihl/cjkihl.git","type":"git"},"_npmVersion":"10.8.2","description":"Load environment variables from Coolify and execute commands with those variables","directories":{},"_nodeVersion":"20.19.5","dependencies":{"execa":"^9.6.0","dotenv":"^17.2.3","commander":"^14.0.1","@cjkihl/find-root":"^1.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/with-coolify-env_1.0.4_1759657004526_0.8952698812069522","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@cjkihl/with-coolify-env","version":"1.0.5","keywords":["coolify","environment","variables","api","cli","deployment","configuration","env"],"author":{"name":"@cjkihl"},"license":"MIT","_id":"@cjkihl/with-coolify-env@1.0.5","maintainers":[{"name":"caki0915","email":"carljohan.kihl@gmail.com"}],"homepage":"https://github.com/cjkihl/cjkihl#readme","bugs":{"url":"https://github.com/cjkihl/cjkihl/issues"},"bin":{"with-coolify-env":"dist/output/with-coolify-env.bin.js"},"dist":{"shasum":"657c0aed7a665ac7ec52c033458aee40d96c8b38","tarball":"https://registry.npmjs.org/@cjkihl/with-coolify-env/-/with-coolify-env-1.0.5.tgz","fileCount":23,"integrity":"sha512-nfkxz+pRCiI6yQ2jodtMHyRypCEZjV+kSdMtpoYg2qfHC08MxfwxqOdh/pGgFZKD585MY4oHlBp6SihItnSQUQ==","signatures":[{"sig":"MEUCIFYo9eSXSc+FQGAYJfJt6rGei4TQSZRMBk02RU5VqPvAAiEAqYCEXmkH28mUoc+COJDZ5jte2yJ4S9gdDJndJ2DmAOs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":83694},"type":"module","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/types/index.pub.d.ts","default":"./dist/output/index.pub.js"}},"funding":{"url":"https://github.com/sponsors/cjkihl","type":"github"},"gitHead":"e58165e17ab746244a327fe88ee0f246cb600d03","scripts":{"build":"tsc && bun ../create-exports/create-exports.bin.ts","type-check":"tsc --noEmit"},"_npmUser":{"name":"caki0915","email":"carljohan.kihl@gmail.com"},"repository":{"url":"git+https://github.com/cjkihl/cjkihl.git","type":"git"},"_npmVersion":"10.8.2","description":"Load environment variables from Coolify and execute commands with those variables","directories":{},"_nodeVersion":"20.19.5","dependencies":{"execa":"^9.6.0","commander":"^14.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/with-coolify-env_1.0.5_1759727540050_0.29699959441684887","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@cjkihl/with-coolify-env","version":"1.0.6","keywords":["coolify","environment","variables","api","cli","deployment","configuration","env"],"author":{"name":"@cjkihl"},"license":"MIT","_id":"@cjkihl/with-coolify-env@1.0.6","maintainers":[{"name":"caki0915","email":"carljohan.kihl@gmail.com"}],"homepage":"https://github.com/cjkihl/cjkihl#readme","bugs":{"url":"https://github.com/cjkihl/cjkihl/issues"},"bin":{"with-coolify-env":"dist/output/with-coolify-env.bin.js"},"dist":{"shasum":"1cc07b60e9f9d8b7322a6a2feea7c7385cb0255c","tarball":"https://registry.npmjs.org/@cjkihl/with-coolify-env/-/with-coolify-env-1.0.6.tgz","fileCount":23,"integrity":"sha512-WrPKC+7FERSb/vR0TphhXblUF3JKJAswbLZ4ALDUX7g63SQAaMYBQWzbxaGWAOknOpBBET5zHii7g0Vo9sF5Ew==","signatures":[{"sig":"MEQCIBwxlSdvBTe04TdvSQLlGpWEOI1QDpT8Oz5tGf0jwrv7AiB+HDkfJNZ0umtAIOfXfL379Zr/xyCpg3b9X1jLNA2cyw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":82087},"type":"module","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/types/index.pub.d.ts","default":"./dist/output/index.pub.js"}},"funding":{"url":"https://github.com/sponsors/cjkihl","type":"github"},"gitHead":"ad7f37cd403448c435de83a8201a65b1db53a7e0","scripts":{"build":"tsc && bun ../create-exports/create-exports.bin.ts","type-check":"tsc --noEmit"},"_npmUser":{"name":"caki0915","email":"carljohan.kihl@gmail.com"},"repository":{"url":"git+https://github.com/cjkihl/cjkihl.git","type":"git"},"_npmVersion":"10.8.2","description":"Load environment variables from Coolify and execute commands with those variables","directories":{},"_nodeVersion":"20.19.5","dependencies":{"execa":"^9.6.0","commander":"^14.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^24.7.2"},"_npmOperationalInternal":{"tmp":"tmp/with-coolify-env_1.0.6_1760588552156_0.895363765465458","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@cjkihl/with-coolify-env","version":"1.0.7","keywords":["coolify","environment","variables","api","cli","deployment","configuration","env"],"author":{"name":"@cjkihl"},"license":"MIT","_id":"@cjkihl/with-coolify-env@1.0.7","maintainers":[{"name":"caki0915","email":"carljohan.kihl@gmail.com"}],"homepage":"https://github.com/cjkihl/cjkihl#readme","bugs":{"url":"https://github.com/cjkihl/cjkihl/issues"},"bin":{"with-coolify-env":"dist/output/with-coolify-env.bin.js"},"dist":{"shasum":"e413699c1d345224b03b3ca4a9268fa88800d9c7","tarball":"https://registry.npmjs.org/@cjkihl/with-coolify-env/-/with-coolify-env-1.0.7.tgz","fileCount":23,"integrity":"sha512-isbbNPMuvDonapCWhphO42vuwDxXBmM4rBx60GwkoEVeahIL8ay58wa51n3hNnpZRPYGVcqHX3FRPspgwzHTnw==","signatures":[{"sig":"MEQCIF5wwh/eE9AgMeVrswRfN69Ph3s9mjuzLdeIEhwfU6qWAiA0tofqjaAlghtHmySfEq2Ov3WADHPG+W2yJEczSrm1xQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":82114},"type":"module","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/types/index.pub.d.ts","default":"./dist/output/index.pub.js"}},"funding":{"url":"https://github.com/sponsors/cjkihl","type":"github"},"gitHead":"f8bb778a375828ca340a0050f1fedf103a8207b2","scripts":{"build":"tsc && bun ../create-exports/create-exports.bin.ts","type-check":"tsc --noEmit"},"_npmUser":{"name":"caki0915","email":"carljohan.kihl@gmail.com"},"repository":{"url":"git+https://github.com/cjkihl/cjkihl.git","type":"git"},"_npmVersion":"10.8.2","description":"Load environment variables from Coolify and execute commands with those variables","directories":{},"_nodeVersion":"20.19.5","dependencies":{"execa":"^9.6.0","commander":"^14.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^24.9.2"},"_npmOperationalInternal":{"tmp":"tmp/with-coolify-env_1.0.7_1761814056972_0.20052401737137848","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@cjkihl/with-coolify-env","version":"1.0.8","keywords":["coolify","environment","variables","api","cli","deployment","configuration","env"],"author":{"name":"@cjkihl"},"license":"MIT","_id":"@cjkihl/with-coolify-env@1.0.8","maintainers":[{"name":"caki0915","email":"carljohan.kihl@gmail.com"}],"homepage":"https://github.com/cjkihl/cjkihl#readme","bugs":{"url":"https://github.com/cjkihl/cjkihl/issues"},"bin":{"with-coolify-env":"dist/output/with-coolify-env.bin.js"},"dist":{"shasum":"d8ef22c9359aeb76b96910efe9046df70ca5b9a4","tarball":"https://registry.npmjs.org/@cjkihl/with-coolify-env/-/with-coolify-env-1.0.8.tgz","fileCount":23,"integrity":"sha512-jFIPIXiUrEtWV+W+pPKZqM8fslxqy8c400TWIpYoVYDT8Sc63ZJTUUKMF2G06pkxMmyuWQ9osmC34Oj+CRzeUA==","signatures":[{"sig":"MEYCIQCmDQDocd/4zM6q2pnljpTCByyFwfdFLP37Lrfc7L6irwIhAIigC4w9fJsPA31ns+KYGcHjb/Mkk2I3DB84d0b09AaH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":86205},"type":"module","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/types/index.pub.d.ts","default":"./dist/output/index.pub.js"}},"funding":{"url":"https://github.com/sponsors/cjkihl","type":"github"},"gitHead":"6d3a24180ee3a3f9606cf4044f53ab28fdba9924","scripts":{"build":"tsgo && bun ../create-exports/create-exports.bin.ts","type-check":"tsgo --noEmit"},"_npmUser":{"name":"caki0915","email":"carljohan.kihl@gmail.com"},"repository":{"url":"git+https://github.com/cjkihl/cjkihl.git","type":"git"},"_npmVersion":"10.8.2","description":"Load environment variables from Coolify and execute commands with those variables","directories":{},"_nodeVersion":"24.3.0","dependencies":{"execa":"^9.6.1","commander":"^14.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^24.10.13"},"_npmOperationalInternal":{"tmp":"tmp/with-coolify-env_1.0.8_1771202690202_0.8146375804064985","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@cjkihl/with-coolify-env","version":"1.0.9","description":"Load environment variables from Coolify and execute commands with those variables","keywords":["coolify","environment","variables","api","cli","deployment","configuration","env"],"homepage":"https://github.com/cjkihl/cjkihl#readme","bugs":{"url":"https://github.com/cjkihl/cjkihl/issues"},"repository":{"type":"git","url":"git+https://github.com/cjkihl/cjkihl.git"},"funding":{"type":"github","url":"https://github.com/sponsors/cjkihl"},"license":"MIT","author":{"name":"@cjkihl"},"type":"module","exports":{".":{"types":"./dist/types/index.pub.d.ts","default":"./dist/output/index.pub.js"}},"bin":{"with-coolify-env":"dist/output/with-coolify-env.bin.js"},"scripts":{"build":"tsgo && bun ../create-exports/create-exports.bin.ts","type-check":"tsgo --noEmit"},"dependencies":{"commander":"^14.0.3","execa":"^9.6.1"},"devDependencies":{"@types/node":"^24.10.13"},"engines":{"node":">=18.0.0"},"publishConfig":{"access":"public","provenance":true},"gitHead":"95f2db961d1a037811b7170d21c967881361d91a","_id":"@cjkihl/with-coolify-env@1.0.9","_nodeVersion":"24.3.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-KbRJJZfO6SrMFj1S2Wx6yiBTgsFNpP02br+vWMhIj0l1XmfP4bt2bXgk34+97CovLwQ4FvFcr6LN9DOH/9Fgbw==","shasum":"c45731aad90a689937e76124153f7a53769341d4","tarball":"https://registry.npmjs.org/@cjkihl/with-coolify-env/-/with-coolify-env-1.0.9.tgz","fileCount":23,"unpackedSize":86229,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cjkihl%2fwith-coolify-env@1.0.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCNct32uDlIoZupPtl8OF8pbslbuYI1mSFNfNgVAQ+k+QIgNAcCZcWEdfqF1/spzTsoYglym7m1oQ6LdsFwCGEmgBY="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d4196659-f729-4091-bf91-f41ce863f4c1"}},"directories":{},"maintainers":[{"name":"caki0915","email":"carljohan.kihl@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/with-coolify-env_1.0.9_1774857666608_0.7929864279985475"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-19T08:00:15.548Z","modified":"2026-03-30T08:01:07.391Z","1.0.0":"2025-06-19T08:00:15.827Z","1.0.1":"2025-06-20T02:03:08.574Z","1.0.2":"2025-06-26T02:50:31.859Z","1.0.3":"2025-09-12T08:08:54.784Z","1.0.4":"2025-10-05T09:36:44.730Z","1.0.5":"2025-10-06T05:12:20.246Z","1.0.6":"2025-10-16T04:22:32.343Z","1.0.7":"2025-10-30T08:47:37.195Z","1.0.8":"2026-02-16T00:44:50.348Z","1.0.9":"2026-03-30T08:01:06.759Z"},"bugs":{"url":"https://github.com/cjkihl/cjkihl/issues"},"author":{"name":"@cjkihl"},"license":"MIT","homepage":"https://github.com/cjkihl/cjkihl#readme","keywords":["coolify","environment","variables","api","cli","deployment","configuration","env"],"repository":{"type":"git","url":"git+https://github.com/cjkihl/cjkihl.git"},"description":"Load environment variables from Coolify and execute commands with those variables","maintainers":[{"name":"caki0915","email":"carljohan.kihl@gmail.com"}],"readme":"# @cjkihl/with-coolify-env\n\nA robust Node.js utility for loading environment variables from [Coolify](https://coolify.io/) and executing commands with those variables loaded. Perfect for CI/CD pipelines, development workflows, and production deployments.\n\n## Features\n\n- 🔐 **Secure**: Loads environment variables from Coolify's secure API\n- 🚀 **Flexible**: Works as both a library and CLI tool\n- 🔄 **Fallback Support**: Uses environment variables as configuration fallbacks\n- 🛡️ **Production Safe**: Configurable to skip loading in production environments\n- ⚡ **Fast**: Efficient API calls with timeout protection\n- 📝 **Well Documented**: Comprehensive TypeScript types and JSDoc comments\n\n## Installation\n\n```bash\nnpm install @cjkihl/with-coolify-env\n```\n\nOr with yarn:\n\n```bash\nyarn add @cjkihl/with-coolify-env\n```\n\nOr with bun:\n\n```bash\nbun add @cjkihl/with-coolify-env\n```\n\n## Quick Start\n\n### As a Library\n\n```typescript\nimport { loadEnv } from '@cjkihl/with-coolify-env';\n\n// Basic usage with environment variables\nawait loadEnv({\n  command: 'npm',\n  args: ['start']\n});\n\n// Explicit configuration\nawait loadEnv({\n  endpoint: 'https://coolify.example.com',\n  appId: 'my-app-id',\n  token: 'my-api-token',\n  command: 'node',\n  args: ['server.js']\n});\n```\n\n### As a CLI Tool\n\n```bash\n# Basic usage\nwith-coolify-env npm start\n\n# With explicit configuration\nwith-coolify-env --endpoint=https://coolify.example.com --app-id=my-app node server.js\n```\n\n## Configuration\n\n### Environment Variables\n\nYou can configure the tool using environment variables:\n\n```bash\nexport COOLIFY_ENDPOINT=\"https://coolify.example.com\"\nexport COOLIFY_APP_ID=\"my-app-id\"\nexport COOLIFY_TOKEN=\"my-api-token\"\n```\n\n### Configuration Options\n\n| Option | Type | Default | Description |\n|--------|------|---------|-------------|\n| `endpoint` | `string` | `process.env.COOLIFY_ENDPOINT` | Coolify API endpoint URL |\n| `appId` | `string` | `process.env.COOLIFY_APP_ID` | Coolify application ID |\n| `token` | `string` | `process.env.COOLIFY_TOKEN` | Coolify API token |\n| `command` | `string` | - | Command to execute (required) |\n| `args` | `string[]` | `[]` | Arguments for the command |\n\n> **Note:** The child process always inherits stdio from the parent process.\n\n## API Reference\n\n### `loadEnv(config?: WithCoolifyEnvConfig): Promise<void>`\n\nLoads environment variables from Coolify and executes a command with those variables.\n\n#### Parameters\n\n- `config` (optional): Configuration object\n\n#### Returns\n\nA promise that resolves when the child process exits successfully, or rejects with an error.\n\n#### Throws\n\n- `Error`: When no command is provided\n- `Error`: When the child process fails to execute or exits with a non-zero code\n- `Error`: When Coolify API requests fail\n\n### `WithCoolifyEnvConfig` Interface\n\n```typescript\ninterface WithCoolifyEnvConfig {\n  endpoint?: string;\n  appId?: string;\n  token?: string;\n  command?: string;\n  args?: string[];\n}\n```\n\n## CLI Usage\n\n### Command Line Options\n\n```bash\nwith-coolify-env [options] <command> [args...]\n```\n\n#### Options\n\n- `--endpoint=<url>`: Coolify API endpoint URL\n- `--app-id=<id>`: Coolify application ID\n- `--token=<token>`: Coolify API token\n- `--help`: Show help message\n\n### Examples\n\n```bash\n# Start a Node.js application\nwith-coolify-env npm start\n\n# Run a build with explicit configuration\nwith-coolify-env \\\n  --endpoint=https://coolify.example.com \\\n  --app-id=my-app \\\n  --token=my-token \\\n  npm run build\n\n# Execute a custom script\nwith-coolify-env node scripts/deploy.js\n```\n\n## Use Cases\n\n### Development Workflow\n\n```bash\n# Load environment variables and start development server\nwith-coolify-env npm run dev\n```\n\n### CI/CD Pipeline\n\n```bash\n# In your CI script\nwith-coolify-env \\\n  --endpoint=$COOLIFY_ENDPOINT \\\n  --app-id=$COOLIFY_APP_ID \\\n  --token=$COOLIFY_TOKEN \\\n  npm run build\n```\n\n### Docker Containers\n\n```dockerfile\n# In your Dockerfile\nRUN npm install -g @cjkihl/with-coolify-env\n\n# In your entrypoint script\nwith-coolify-env node server.js\n```\n\n## Error Handling\n\nThe library provides detailed error messages for common issues:\n\n### Missing Configuration\n\n```bash\nError: Missing required Coolify configuration: endpoint, appId, token. \nPlease provide these values either in the config or as environment variables \n(COOLIFY_ENDPOINT, COOLIFY_APP_ID, COOLIFY_TOKEN).\n```\n\n### API Errors\n\n```bash\nError: Failed to fetch environment variables from Coolify: HTTP 401 Unauthorized\nResponse: {\"error\": \"Invalid token\"}\n```\n\n### Command Execution Errors\n\n```bash\nError: Command failed with exit code 1\nCommand: npm start\nError output:\nnpm ERR! missing script: start\n```\n\n## Troubleshooting\n\n### Common Issues\n\n1. **Authentication Errors**: Ensure your Coolify token is valid and has the necessary permissions\n2. **Network Timeouts**: The API request has a 30-second timeout. Check your network connection\n3. **Invalid App ID**: Verify that the application ID exists in your Coolify instance\n\n### Debug Mode\n\nEnable debug logging by setting the `DEBUG` environment variable:\n\n```bash\nDEBUG=* with-coolify-env npm start\n```\n\n## Security Considerations\n\n- **Token Security**: Never commit API tokens to version control\n- **Environment Variables**: Use environment variables for sensitive configuration\n- **Network Security**: Ensure HTTPS is used for Coolify endpoints in production\n- **Token Permissions**: Use tokens with minimal required permissions\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nMIT License - see the [LICENSE](LICENSE) file for details.\n\n## Support\n\nIf you encounter any issues or have questions, please [open an issue](https://github.com/cjkihl/cjkihl/issues) on GitHub.\n","readmeFilename":"README.md"}