{"_id":"@b12k/wenv","_rev":"1-285ef7b4069429b15cdaeca8a0f97b01","name":"@b12k/wenv","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.1":{"name":"@b12k/wenv","version":"0.0.1","description":"Checks environment variables and exits, that's it...","publishConfig":{"access":"public"},"bin":{"wenv":"dist/cli.js"},"main":"dist/index.js","types":"dist/index.d.ts","keywords":[],"author":{"name":"Bogdan Kolesnyk"},"license":"MIT","repository":{"type":"git","url":"git://github.com/b12k/wenv.git"},"homepage":"https://github.com/b12k/wenv","bugs":{"url":"https://github.com/b12k/wenv/issues"},"scripts":{"dev":"pnpm clean && run-p _dev:*","_dev:types":"pnpm _build:types && chokidar \"./dist/**/*.js\" -c \"pnpm _build:types\"","_dev:scripts":"pnpm _build:scripts --watch","lint":"run-p _lint:*","_lint:types":"tsc --noEmit","_lint:scripts":"eslint ./src/**/*.ts","_lint:codestyle":"pnpm prettier . --check","build":"pnpm clean && run-p _build:*","_build:types":"tsc --emitDeclarationOnly","_build:scripts":"swc ./src -d ./dist","clean":"shx rm -rf ./dist","prepare":"husky install","release":"release-it --ci","husky:pre-commit":"run-p _husky:pre-commit:*","_husky:pre-commit:typecheck":"pnpm _lint:types","_husky:pre-commit:lintstaged":"lint-staged"},"devDependencies":{"@commitlint/cli":"17.6.3","@commitlint/config-conventional":"17.6.3","@release-it/conventional-changelog":"5.1.1","@swc/cli":"0.1.62","@swc/core":"1.3.60","@swc/helpers":"0.5.1","@types/folder-hash":"4.0.2","@types/fs-extra":"11.0.1","@types/glob":"8.1.0","@types/node":"20.2.4","@types/semver":"7.5.0","@typescript-eslint/eslint-plugin":"5.59.7","@typescript-eslint/parser":"5.59.7","chokidar":"3.5.3","chokidar-cli":"3.0.0","eslint":"8.41.0","eslint-config-airbnb-base":"15.0.0","eslint-config-airbnb-typescript":"17.0.0","eslint-config-prettier":"8.8.0","eslint-import-resolver-typescript":"3.5.5","eslint-plugin-eslint-comments":"3.2.0","eslint-plugin-import":"2.27.5","eslint-plugin-prettier":"4.2.1","eslint-plugin-promise":"6.1.1","eslint-plugin-simple-import-sort":"10.0.0","eslint-plugin-unicorn":"47.0.0","eslint-plugin-unused-imports":"2.0.0","husky":"8.0.3","lint-staged":"13.2.2","npm-run-all":"4.1.5","prettier":"2.8.8","release-it":"15.10.3","shx":"0.3.4","typescript":"5.0.4"},"dependencies":{"commander":"10.0.1"},"gitHead":"0eea72ab226547937dfba0c60af4f8560b1e677b","_id":"@b12k/wenv@0.0.1","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-+f2GrVZoL2TIg09MyraPoe9RVanZIu0zrx8cIiClXCzw7gfIP9i/xNxIA/AA7+zxv+97Q8ElWjnjTK3nor300w==","shasum":"edb480301396376e12214cf3ee944cfcf78b8d92","tarball":"https://registry.npmjs.org/@b12k/wenv/-/wenv-0.0.1.tgz","fileCount":7,"unpackedSize":7266,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+W3ZnIgQ/LMeTr8KsSvuqbvmDcPqx1Nit+4zRyE0sgQIgcviS+PCz+DycnOekdWEAsrs/gRcSecsbAAGUPkq6nvM="}]},"_npmUser":{"name":"b12k","email":"bogdan.kolesnyk@gmail.com"},"directories":{},"maintainers":[{"name":"b12k","email":"bogdan.kolesnyk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wenv_0.0.1_1685190537417_0.1902585899613709"},"_hasShrinkwrap":false},"0.1.0":{"name":"@b12k/wenv","version":"0.1.0","description":"Checks environment variables and exits, that's it...","publishConfig":{"access":"public"},"bin":{"wenv":"dist/cli.js"},"main":"dist/index.js","types":"dist/index.d.ts","keywords":[],"author":{"name":"Bogdan Kolesnyk"},"license":"MIT","repository":{"type":"git","url":"git://github.com/b12k/wenv.git"},"homepage":"https://github.com/b12k/wenv","bugs":{"url":"https://github.com/b12k/wenv/issues"},"scripts":{"dev":"pnpm clean && run-p _dev:*","_dev:types":"pnpm _build:types && chokidar \"./dist/**/*.js\" -c \"pnpm _build:types\"","_dev:scripts":"pnpm _build:scripts --watch","lint":"run-p _lint:*","_lint:types":"tsc --noEmit","_lint:scripts":"eslint ./src/**/*.ts","_lint:codestyle":"pnpm prettier . --check","build":"pnpm clean && run-p _build:*","_build:types":"tsc --emitDeclarationOnly","_build:scripts":"swc ./src -d ./dist","clean":"shx rm -rf ./dist","prepare":"husky install","release":"release-it --ci","husky:pre-commit":"run-p _husky:pre-commit:*","_husky:pre-commit:typecheck":"pnpm _lint:types","_husky:pre-commit:lintstaged":"lint-staged"},"devDependencies":{"@commitlint/cli":"17.6.3","@commitlint/config-conventional":"17.6.3","@release-it/conventional-changelog":"5.1.1","@swc/cli":"0.1.62","@swc/core":"1.3.60","@swc/helpers":"0.5.1","@types/folder-hash":"4.0.2","@types/fs-extra":"11.0.1","@types/glob":"8.1.0","@types/node":"20.2.4","@types/semver":"7.5.0","@typescript-eslint/eslint-plugin":"5.59.7","@typescript-eslint/parser":"5.59.7","chokidar":"3.5.3","chokidar-cli":"3.0.0","eslint":"8.41.0","eslint-config-airbnb-base":"15.0.0","eslint-config-airbnb-typescript":"17.0.0","eslint-config-prettier":"8.8.0","eslint-import-resolver-typescript":"3.5.5","eslint-plugin-eslint-comments":"3.2.0","eslint-plugin-import":"2.27.5","eslint-plugin-prettier":"4.2.1","eslint-plugin-promise":"6.1.1","eslint-plugin-simple-import-sort":"10.0.0","eslint-plugin-unicorn":"47.0.0","eslint-plugin-unused-imports":"2.0.0","husky":"8.0.3","lint-staged":"13.2.2","npm-run-all":"4.1.5","prettier":"2.8.8","release-it":"15.10.3","shx":"0.3.4","typescript":"5.0.4"},"dependencies":{"commander":"10.0.1"},"gitHead":"3f252fbf55d71daaf0ef8bf1aa0b67326440ef7f","_id":"@b12k/wenv@0.1.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-FySNyUbm1WWCd+YvOVPavl2YgybMFqezHKPTK8i+YwWwfu24Kcl/5dEfap7tY9nk6RReDBvmaO0WkOYnrdYxPw==","shasum":"01abbc935e47845893e0abbad2b3c362974b3b32","tarball":"https://registry.npmjs.org/@b12k/wenv/-/wenv-0.1.0.tgz","fileCount":7,"unpackedSize":7415,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHNbo29oZVP5cD9WnIlmC42Y1rDwovuLnNoAOMfQ2i4hAiEAjfMqqWDMv8Ffw2GdaqE7sy7UVePQXkhTrVTJXhHrzak="}]},"_npmUser":{"name":"b12k","email":"bogdan.kolesnyk@gmail.com"},"directories":{},"maintainers":[{"name":"b12k","email":"bogdan.kolesnyk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wenv_0.1.0_1685190846040_0.26342499643487227"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-27T12:28:57.358Z","0.0.1":"2023-05-27T12:28:57.611Z","modified":"2023-05-27T12:34:06.292Z","0.1.0":"2023-05-27T12:34:06.194Z"},"maintainers":[{"name":"b12k","email":"bogdan.kolesnyk@gmail.com"}],"description":"Checks environment variables and exits, that's it...","homepage":"https://github.com/b12k/wenv","keywords":[],"repository":{"type":"git","url":"git://github.com/b12k/wenv.git"},"author":{"name":"Bogdan Kolesnyk"},"bugs":{"url":"https://github.com/b12k/wenv/issues"},"license":"MIT","readme":"# **<div align=\"center\">WENV</div>**\n\nA stupid simple utility that checks environment variables and exists...\n\n## Install\n\n```shell\n# NPM\nnpm i wenv\n# Yarn\nyarn add wenv\n# PNPM\npnpm i wenv\n```\n\n## Use\n\n```shell\nwenv\n```\n\n## Example\n\n```shell\n# install globally to use it as shell command\n\nnpm i @b12k/wenv -g\n\nexport ENV_VAR=banana\nexport ANOTHER_ENV_VAR=apple\n\nwenv ENV_VAR=banana ANOTHER_ENV_VAR=apple && echo \"✅ - bananas and apples\"\nwenv ENV_VAR!=banana ANOTHER_ENV_VAR!=orange && echo \"❌ - this will not be echoed\"\n\n# -f - \"Success Fail\" mode. To prevent erroring on failed condition\nwenv ENV_VAR!=grape ANOTHER_ENV_VAR!=peach -f || echo \"✅ - Successfully failed: no grapes and no peaches\"\nwenv ENV_VAR=grape ANOTHER_ENV_VAR=peach -f || echo \"❌ - this will not be echoed\"\n```\n","readmeFilename":"README.md"}