{"_id":"@actions-kit/envi","name":"@actions-kit/envi","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@actions-kit/envi","version":"0.1.0","description":"Environment management library of Actions Kit","keywords":["github","actions","envi","input"],"homepage":"https://github.com/threeal/actions-kit/tree/main/packages/envi","bugs":{"url":"https://github.com/threeal/actions-kit/issues","email":"alfi.maulana.f@gmail.com"},"license":"MIT","author":{"name":"Alfi Maulana","email":"alfi.maulana.f@gmail.com","url":"https://github.com/threeal"},"main":"lib/index.js","types":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/threeal/actions-kit.git","directory":"packages/envi"},"scripts":{"build":"rm -rf lib && tsc","format":"prettier --write \"*.{js,ts,json}\" \"src/**/*.ts\"","lint":"eslint src --ext .js,.ts","test":"jest"},"dependencies":{"@actions/core":"^1.10.0"},"devDependencies":{"@actions-kit/dev":"^0.1.0"},"gitHead":"cedf88a2af9550156af4f1677c3f867ca8796cf0","_id":"@actions-kit/envi@0.1.0","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-Pu4FvvWQX2lyX+zgc7EbbyAb+J8dPLCbZX+UWmkUj8Sfzm91TPiTsXsX2MFLsJfE166/6GicBwH3DeYgy8EFGQ==","shasum":"2bfd9c138494e2c2b0b16b98f2c07907df6ace0e","tarball":"https://registry.npmjs.org/@actions-kit/envi/-/envi-0.1.0.tgz","fileCount":9,"unpackedSize":9326,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEWykQ6T4W08YnKdnkCI2GuAPacKCO+WOer7EY1X4UVZAiEAtUelISuqYe0UQYSQR0IWht7VdFpZqs9RkCWnJTgb4is="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkQQc0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqwKw/+ISRClJ/2JSA+dqmzUFgN6oIycfAuH2KYN6Rxwf65Hw0xNXn+\r\nonwDjaM8/tkawwW4aVfE0uTztG2fQ83Q/z/LWG6Rnp8tu/wr1YGRIdhysslw\r\nGakeibetrCXJS8fno02njnRr794Cc8n8lW+gwS8XUYPf4e3zLrg5pfB2uw4y\r\n8MTRFMp4FTE2Qcke+aw4JGCvmgyss8KkClrauOCY1rBxvDXZJcoIfAhV3RFf\r\nID3NPpHeV08AjG2IfWMsXsU/Os3/zICTxD+dCUcvGg8qJGZN3kr5tPQg6UjD\r\n7wvHIkVm0MRqFCufobF6c5nb2pYg4i5JG6Xm9nSlWgcYz+XxGDrdf27puG0X\r\nRb8Fw2oiG3MPHbw4svJ7Lx3hQhLy2KRBZEYP19AOg/7uhLoYzFrAxcHQ18E8\r\n5xWQ/HF7LbVYCwFDk6K6DjkcNJnuxD5oxWldEJ4cVTXl9A8jNiMzh1p2PHMv\r\noQ+a2oPMYJfaYDWoAV0JMgXfKe6cK++MGPqDftJLaUA1GrRSnWrs2dnQ/u8z\r\nhazdLNb7oW5foNJSZ77/eEvHd8TLUAGIyeCFHxr77tiCJINkLL9Qc36EhHXa\r\nus6Rf3p0iEhUEpoC5TBQJa8FERyOurj9nurqCmXcYSxUsOMC6pxzdgS1trjX\r\nCVHyppMWZKZQiYEsRejfPYnkN4AV0yGpzO0=\r\n=ey9r\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"threeal","email":"alfi.maulana.f@gmail.com"},"directories":{},"maintainers":[{"name":"threeal","email":"alfi.maulana.f@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/envi_0.1.0_1681983284137_0.10307263262778843"},"_hasShrinkwrap":false}},"time":{"created":"2023-04-20T09:34:44.085Z","0.1.0":"2023-04-20T09:34:44.382Z","modified":"2023-04-20T09:34:44.594Z"},"maintainers":[{"name":"threeal","email":"alfi.maulana.f@gmail.com"}],"description":"Environment management library of Actions Kit","homepage":"https://github.com/threeal/actions-kit/tree/main/packages/envi","keywords":["github","actions","envi","input"],"repository":{"type":"git","url":"git+https://github.com/threeal/actions-kit.git","directory":"packages/envi"},"author":{"name":"Alfi Maulana","email":"alfi.maulana.f@gmail.com","url":"https://github.com/threeal"},"bugs":{"url":"https://github.com/threeal/actions-kit/issues","email":"alfi.maulana.f@gmail.com"},"license":"MIT","readme":"# Actions Kit - Envi\n\n[![npm version](https://img.shields.io/npm/v/@actions-kit/envi)](https://www.npmjs.com/package/@actions-kit/envi)\n[![build status](https://img.shields.io/github/actions/workflow/status/threeal/actions-kit/build.yml?branch=envi@latest)](https://github.com/threeal/actions-kit/actions/workflows/build.yml?query=branch%3Aenvi%40latest)\n\nAn environment management library of [Actions Kit](https://github.com/threeal/actions-kit), an additional [toolkit](https://github.com/actions/toolkit) for developing [GitHub Actions](https://github.com/features/actions).\n\n## Installation\n\n```sh\nnpm install @actions-kit/envi\n```\n\n## Usage\n\n### Get Action Inputs\n\nUse `getStringInput(key)` to get a string from an action input.\n\n```js\nconst envi = require('@actions-kit/envi');\n\nconst stringInput = envi.getStringInput(\"string-input\");\n```\n\nOr use `getMultilineInput(key)`, `getBooleanInput(key)` or `getNumberInput(key)` to respectively get a multiline string, boolean or number from an action input.\n\n```js\nconst multilineInput = envi.getMultilineInput(\"multiline-input\");\nconst booleanInput = envi.getBooleanInput(\"boolean-input\");\nconst numberInput = envi.getNumberInput(\"number-input\");\n```\n\n## License\n\nThis project is licensed under the terms of the [MIT License](./LICENSE).\n\nCopyright © 2023 [Alfi Maulana](https://github.com/threeal)\n","readmeFilename":"README.md"}