{"_id":"@allejo/aws-parameter-store-to-object","_rev":"5-71c2b77a2568e4e6e10b80125dba92d4","name":"@allejo/aws-parameter-store-to-object","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@allejo/aws-parameter-store-to-object","version":"1.0.0","author":{"name":"Vladimir \"allejo\" Jimenez"},"license":"MIT","_id":"@allejo/aws-parameter-store-to-object@1.0.0","maintainers":[{"name":"allejo","email":"me@allejo.io"}],"homepage":"https://github.com/allejo/aws-parameter-store-to-object#readme","bugs":{"url":"https://github.com/allejo/aws-parameter-store-to-object/issues"},"dist":{"shasum":"5e279ecb8615e91dd8871a5e2a9e997f38549a64","tarball":"https://registry.npmjs.org/@allejo/aws-parameter-store-to-object/-/aws-parameter-store-to-object-1.0.0.tgz","fileCount":5,"integrity":"sha512-1GHnIRfy3tfHyZRboTEyrZVIerYn/Ap3GZPqOCaHb5pvmKZJGW1wS+fZJxyTAXIM8HbkMU+hAwy4OT9uVyAeUQ==","signatures":[{"sig":"MEYCIQC5lpIwLsTHl2fMPWiJOWw7lu4MkeKPzudDiQK7Cx60dQIhAKdo9s0RxkoXdydKqdWlM9fRiFvscHjZTVkF2Bo17fPs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4969,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIXeYCRA9TVsSAnZWagAAbrIQAJbr7IMPbrsfmFaiq9HY\nYiRTdNWnqKfgGR9ffXyKtKv/xi0pEOZmXLuzyoLPAovu6wksTFLBTmUBtX23\neF0LHaLtru0LxnvD/rqQFn4gTjYqcrAt2td/pUIKzym8ej6LXBCLg5IIjCHG\nGhMyvdXB10fQoOQ96kj+Pc/JpDOrVIQB5F+HledCHgyHQuwZWUKSWvgaSCn5\ndMNEWcizoMIDOnftKTiVETI7I2mICZP1WI8S9ycDSzylVdDhahA3aFWT7N58\ngNZn69P1Hk+Z5NZ8ACNDg8lY1Z82zj/ZiXM0MM7GCJM7v5G94c6BgXsY37Hn\nd9nQo4Cz4A/nTcZ3zHvUCZVDwuO01iaz16unWXc0GalJKHNbogjKJZX5Pe65\nqDyuVY95oJ/V2qxnOUmaXR5rJYqA/7BIJI+Ld6GO6rEboOwJujdvPtEab9PO\nJCLqX2qv70euj1Ih+R90HdrpS/rJxAFDBl+d9UaAFpBYVg2meVCvUr8NXqQl\nSyXKgnWTd1meNvv1vjQmEzYpFC3bj1EHzzfLYPoAQ9uJm9oERWI/OykiD/x7\ni4op5warRtckTaYHlFil8XbFxkGslGmpN37J2jFwa1ngwT8kxQQM8N+BKgtm\nRd1RgmlFBVPG/lL0r4Fgc75fmBP2uDiyDP3yXz9bEKq0Pr5XRNp6HjuBoOBv\nL16P\r\n=S0h6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"36a161bdb628e38c141c47f66432773b7c3c617d","private":false,"scripts":{"test":"jest","prepack":"tsc && babel dist/index.js --out-file dist/index.js","prepare":"install-peers"},"_npmUser":{"name":"allejo","email":"me@allejo.io"},"repository":{"url":"git+https://github.com/allejo/aws-parameter-store-to-object.git","type":"git"},"_npmVersion":"6.14.6","description":"A small utility function to fetch values from AWS Parameter Store as a JS object","directories":{},"_nodeVersion":"12.18.3","_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","ts-jest":"^26.5.0","@babel/cli":"^7.12.13","typescript":"^4.1.3","@babel/core":"^7.12.13","@types/jest":"^26.0.20","@babel/preset-env":"^7.12.13","install-peers-cli":"^2.2.0"},"peerDependencies":{"aws-sdk":"^2.838.0"},"_npmOperationalInternal":{"tmp":"tmp/aws-parameter-store-to-object_1.0.0_1612806040104_0.38647648204279283","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.1":{"name":"@allejo/aws-parameter-store-to-object","version":"1.0.1","author":{"name":"Vladimir \"allejo\" Jimenez"},"license":"MIT","_id":"@allejo/aws-parameter-store-to-object@1.0.1","maintainers":[{"name":"allejo","email":"me@allejo.io"}],"homepage":"https://github.com/allejo/aws-parameter-store-to-object#readme","bugs":{"url":"https://github.com/allejo/aws-parameter-store-to-object/issues"},"dist":{"shasum":"96fe4ab493ad91fefa3df5d78dd5d90fdaef3cde","tarball":"https://registry.npmjs.org/@allejo/aws-parameter-store-to-object/-/aws-parameter-store-to-object-1.0.1.tgz","fileCount":5,"integrity":"sha512-6z8rmHDTQwcwkpKX6L63KFjXjNlrOjJG6E7yW1YIkyCLcejUY1ufD46uprM6vA2oMtJXhOjhWJjL7KBUy5MUTQ==","signatures":[{"sig":"MEUCIHtAvnYORQw2o215Tzx68cR0z1lnLuwoTMXy2jodIeVaAiEA6BVuqMbNW4LHv5VQkUH0Owdc5QuPhWjxIbihFxD5lLc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4994,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgNpv4CRA9TVsSAnZWagAAZu0P/0XzGKnhxl+P70HTtBQl\nTTGoJC7rRxFdd4YugV17SGcwYGvLdUfVSLaR7NXOtsB1ZmJJsdTBRhdQbLm8\n/jMXUdsGb3WoS269OELkAaeOKQNrm1zHEmVN9djvUlYcA2klOpnPDfEqwlfR\nT+vwUu1sGRS0UmuSFM7d4FIjAYE5O+Icafu3lc70dEfRLKN3Wpplszl9xmG9\nvLamcChAcY3+jsEpIzp1rA5ZZeOrVJdXDMgIrH6D4OTL939/+YJvKndgoR/5\nqaLMTdZ2kXfNqqT1PWqD0LtogiN1Dp6q2f4z/w5+CLq3/El8TVYaZHNn5Vzh\nrBLdFUwJXzRXePF1Owb3MdpCxkrygGEfqmcRTKF7DwUZVQnjTp1T8Y6kxehl\n8d94UE4J9i0Cv9KWKmPirpyitrpafsvWk6cM9lr4tCML9D1n3lL4iRWDbOLl\nmbgcPauOdJhqSzFVytCSwa/9680TrP3NwLSxxz8kPgftt2/MxFG2HTCwcPND\nOmUeUCe1OC49J2q/+9MWywtNDfsBvl8U7X5xF1z6zrdfCKqYKrMH296Yt40d\nAd9lAaS/0+MpNoFQBE7I8CMt5wZWGlQgtixFid0eANl8saKJrP8OQf6Y+NkF\nAFEzcZxPAq1XyKS2YsWupJvYt1zNloQGdurM60qfUQLFcwrndLfdFtQrwi8R\n64Gv\r\n=47Lx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"f6bf0bc461907b4e60805344be5f378f7f697fd4","private":false,"scripts":{"test":"jest","prepack":"tsc && babel dist/index.js --out-file dist/index.js","prepare":"install-peers"},"_npmUser":{"name":"allejo","email":"me@allejo.io"},"repository":{"url":"git+https://github.com/allejo/aws-parameter-store-to-object.git","type":"git"},"_npmVersion":"6.14.6","description":"A small utility function to fetch values from AWS Parameter Store as a JS object","directories":{},"_nodeVersion":"12.18.3","_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","ts-jest":"^26.5.0","@babel/cli":"^7.12.13","typescript":"^4.1.3","@babel/core":"^7.12.13","@types/jest":"^26.0.20","@babel/preset-env":"^7.12.13","install-peers-cli":"^2.2.0"},"peerDependencies":{"aws-sdk":"^2.838.0"},"_npmOperationalInternal":{"tmp":"tmp/aws-parameter-store-to-object_1.0.1_1614191607654_0.69822854551101","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.2":{"name":"@allejo/aws-parameter-store-to-object","version":"1.0.2","author":{"name":"Vladimir \"allejo\" Jimenez"},"license":"MIT","_id":"@allejo/aws-parameter-store-to-object@1.0.2","maintainers":[{"name":"allejo","email":"me@allejo.io"}],"homepage":"https://github.com/allejo/aws-parameter-store-to-object#readme","bugs":{"url":"https://github.com/allejo/aws-parameter-store-to-object/issues"},"dist":{"shasum":"2866b81a2b3bc70cc22b7361ac96a3a121744744","tarball":"https://registry.npmjs.org/@allejo/aws-parameter-store-to-object/-/aws-parameter-store-to-object-1.0.2.tgz","fileCount":5,"integrity":"sha512-1gjqm5MhRumBfq4uQ9MeHhtMaiRdld/iZQj/eTi7S3PjpcB3oD96IT4Ex4+hIxK8+VicFt4N+WyEbMUvpbpHuw==","signatures":[{"sig":"MEUCIBKsv5Qpa27fGjit7RuFwIjlYSS8SQOoXB/d4QXEfvjjAiEAv11ONXWB5UGhnG/4QK5RqHi+75jO4brVif7P/UzDz40=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5011,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZz6WCRA9TVsSAnZWagAAj3gP/inXhlr9IWZOCLAqgq4y\ncY8MacsIXYhy7CnV6VOC7rjvhuLhkbYiVqyjIb7v+KXSxKn5pk8+QWqgsbRm\nYVRFJPf7KE1ho4GuG+wQC6rfv75AFVxNcOtDU77/wWdtxNdb5j3oiHPPVsWv\nXa5FPRgd9SCPyxqlcxJIJICdVbdAr2mzIUwDDIlENM8mm4HFEXGhqORcNHMX\n1HnoElM13DOFmnRkCTKj0mt1RC88KNwtWr+DgOMAXoFLddS/lLLu0sh6ZdYQ\nP3LeEFnnG/YEdKKoFcEXO8dRe4DIMvErk7AvTVsE1teOYrTvcj6AjotPNfo7\nvpYKspW4jRE4ii5ty8HYZsNyKjSUGaXan3566NZA8Hdl3rhtObHkoUebR9U/\nSyGMshJ6HMNaaM/x6H1JZ+M96jKNb/W5JovLGNqyLMARfVOCl8BaTfom0J4A\nle9z7g0o453OcZ3Cj2y4WetZ0MWw/Fo4BoMtidO4G9BDrGVhzHcXqtN1k12p\n7byBIWlZuJD1IBQC8M+9gaIu3pIbLxyEBw83s0HNnoNd1GoQ03BW1h+2KD2m\nklfpYnCp0E3oSaSOKb5myTmC+hoLvQbYQ4J/TCGrIwh5gW5NMGS1RR7W6MpM\nxdbYH4kbfiBsmEvwAikDuVHZp1PtJ3qHzjl/yBOLnAOijeOKDe0bWALQfOpY\nhlXe\r\n=nh/W\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"b173129e7aaedc2fa09b2ace1d928034acd15b8c","private":false,"scripts":{"test":"jest","prepack":"tsc && babel dist/index.js --out-file dist/index.js","prepare":"install-peers"},"_npmUser":{"name":"allejo","email":"me@allejo.io"},"repository":{"url":"git+https://github.com/allejo/aws-parameter-store-to-object.git","type":"git"},"_npmVersion":"6.14.6","description":"A small utility function to fetch values from AWS Parameter Store as a JS object","directories":{},"_nodeVersion":"12.18.3","_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","ts-jest":"^26.5.0","@babel/cli":"^7.12.13","typescript":"^4.1.3","@babel/core":"^7.12.13","@types/jest":"^26.0.20","@babel/preset-env":"^7.12.13","install-peers-cli":"^2.2.0"},"peerDependencies":{"aws-sdk":"^2.838.0"},"_npmOperationalInternal":{"tmp":"tmp/aws-parameter-store-to-object_1.0.2_1617378965899_0.1973377007460122","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2021-02-08T17:40:40.068Z","modified":"2026-01-04T23:28:49.313Z","1.0.0":"2021-02-08T17:40:40.256Z","1.0.1":"2021-02-24T18:33:27.881Z","1.0.2":"2021-04-02T15:56:06.033Z"},"bugs":{"url":"https://github.com/allejo/aws-parameter-store-to-object/issues"},"author":{"name":"Vladimir \"allejo\" Jimenez"},"license":"MIT","homepage":"https://github.com/allejo/aws-parameter-store-to-object#readme","repository":{"url":"git+https://github.com/allejo/aws-parameter-store-to-object.git","type":"git"},"description":"A small utility function to fetch values from AWS Parameter Store as a JS object","maintainers":[{"name":"allejo","email":"me@allejo.io"}],"readme":"# AWS Parameter Store to Object (JavaScript)\n\nIn the spirit of the dependency hell that is the JavaScript world, here is a simple function that I ended up reusing a lot at work to query parameters from AWS' Parameter Store.\n\n## Installation\n\n```bash\nnpm install @allejo/aws-parameter-store-to-object\n# or\nyarn add @allejo/aws-parameter-store-to-object\n```\n\n## Usage\n\n```typescript\nimport { getParameterStoreValues } from '@allejo/aws-parameter-store-to-object';\n\ninterface Settings {\n    appID: number;\n    installID: number;\n    ghOrg: string;\n    privateKey: string;\n}\n\nconst strToNum = (value?: string) => value ? Number.parseInt(value) : 0;\nconst variables = await getParameterStoreValues<Settings>(\n    {\n        app_id: { appID: strToNum },\n        installation_id: { installID: strToNum },\n        gh_org: 'ghOrg',\n        private_key: 'privateKey',\n    },\n    {\n        prefix: '/application/github_application/',\n    }\n);\n\n// variables.appID\n// variables.installID\n// etc.\n```\n","readmeFilename":"README.md"}