{"_id":"@kazi-faas/cli","_rev":"32-53c75daf1b698c57ede191d0b27018e2","name":"@kazi-faas/cli","dist-tags":{"latest":"1.8.0","dev":"1.8.0-dev.1"},"versions":{"1.0.1":{"name":"@kazi-faas/cli","version":"1.0.1","license":"MIT","bin":{"kazi":"dist/cli.js"},"engines":{"node":">=16"},"scripts":{"build":"tsc","build:watch":"tsc --watch","start":"npm run build && dist/cli.js","pretest":"npm run build","test":"xo && ava","semantic-release":"semantic-release"},"dependencies":{"@kubernetes/client-node":"^0.16.1","degit":"^2.8.4","got":"^11.8.3","ink":"^3.2.0","ink-table":"^3.0.0","ink-task-list":"^1.1.0","meow":"^9.0.0","pkg-install":"^1.0.0","react":"^17.0.2"},"ava":{"typescript":{"extensions":["tsx"],"rewritePaths":{"source/":"dist/"}}},"xo":{"extends":"xo-react","rules":{"react/prop-types":"off"}},"devDependencies":{"@ava/typescript":"^3.0.1","@sindresorhus/tsconfig":"^2.0.0","@types/degit":"^2.8.3","@types/react":"^17.0.37","ava":"^3.15.0","chalk":"^4.1.2","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","ink-testing-library":"^2.1.0","typescript":"^4.5.2","xo":"^0.39.1","semantic-release":"^19.0.2"},"repository":{"type":"git","url":"git+https://github.com/kazi-faas/kazi.git"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main",{"name":"dev","prerelease":true},"next"]},"publishConfig":{"access":"public"},"gitHead":"e6a94c64a725245484a7310e3dbafc33df326681","description":"Serverless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js fu","bugs":{"url":"https://github.com/kazi-faas/kazi/issues"},"homepage":"https://github.com/kazi-faas/kazi#readme","_id":"@kazi-faas/cli@1.0.1","_nodeVersion":"16.13.2","_npmVersion":"8.4.0","dist":{"integrity":"sha512-mSGvJWeUYAObwd2bIMneb3gP4wS1z6HMX98VKYb8EHNSS6XW7IY/JVYT66rJVaaYcF4Mn9q0mpzJApG68WWVEg==","shasum":"be8501c29a2d815cb6218b8b3b11dd43ea1f35af","tarball":"https://registry.npmjs.org/@kazi-faas/cli/-/cli-1.0.1.tgz","fileCount":3,"unpackedSize":14990,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh9AMCCRA9TVsSAnZWagAAtCIQAKJ1J2FzVokkupbHhYb/\n3znwsQvMCXVfeMUrQk+K1gOJplFqlRWyB4a3x08KGhjeDuAhKDkNpuFAwS0j\niZ09uPsNzIma4GYGvO916rzhoyHMkwiqKdr8p+x9g3/nk8rwKG4O/UCtbxDk\nFMkwHxwL5ygqtcKCD3pxXLSVGRllufMMjfgOqWZPvmQWLfIPp8AGiEQg7VyR\nCSNU0wBfVZ3fNKnQEsZkWdInn++jyMSFmEtOc63S9jXQNOL5ClmEh1Qyerpe\nzhR2Td9SKO3/G1Bg8YPWzVXwbTeYx1egPckERITO5pBmal1oHnSHDSmlMUrU\nRbzVNWF6ykbCTSlgnWjGdEYi8FnMT1k/Pr5BnQAl3PGa64bA2hMRu3vFtSaw\nrSFli/AP/dHbXnQJUbsvbvcd4kK+iLPktvaN0ou9YFR/u1OVVolTZmMOz20k\ncrKi76JhG2w+H8l+lsyi4NnYJT1duSJzy7xA7sRTZ+mtn/uefjbxQRdR/fVb\naPlpLE6jEmREWhvazJNkIZFQrJ9ulvxHcpKL/jhOSeCp+sl/syxZSY3pd5yq\nAmRfST9L4LG/rRUOsUZ6cy3OVHfN9cQ7zYfY37dEQTsKQQOTTBzT/JcL+K49\nc25cANrTTLwyA+FNmNloGELZVSJX+6gJmfy/E/KLdGNWZSGZvQNudMd3sPtJ\nsk+G\r\n=atVp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDBCSvv69Dei6766z5BNmb67QuAffDBF4JJfV+/SbK99wIhAL5HfcRoAPRy6x6MjiHPmIYR9bDt46b3nHjTlq+rCVOX"}]},"_npmUser":{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"},"directories":{},"maintainers":[{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.0.1_1643381506367_0.8071282763055432"},"_hasShrinkwrap":false},"1.0.2":{"name":"@kazi-faas/cli","version":"1.0.2","license":"MIT","bin":{"kazi":"dist/cli.js"},"engines":{"node":">=16"},"scripts":{"build":"tsc","build:watch":"tsc --watch","start":"npm run build && dist/cli.js","pretest":"npm run build","test":"xo && ava","semantic-release":"npm run build && semantic-release"},"dependencies":{"@kubernetes/client-node":"^0.16.1","degit":"^2.8.4","got":"^11.8.3","ink":"^3.2.0","ink-table":"^3.0.0","ink-task-list":"^1.1.0","meow":"^9.0.0","pkg-install":"^1.0.0","react":"^17.0.2"},"ava":{"typescript":{"extensions":["tsx"],"rewritePaths":{"source/":"dist/"}}},"xo":{"extends":"xo-react","rules":{"react/prop-types":"off"}},"devDependencies":{"@ava/typescript":"^3.0.1","@sindresorhus/tsconfig":"^2.0.0","@types/degit":"^2.8.3","@types/react":"^17.0.37","ava":"^3.15.0","chalk":"^4.1.2","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","ink-testing-library":"^2.1.0","typescript":"^4.5.2","xo":"^0.39.1","semantic-release":"^19.0.2"},"repository":{"type":"git","url":"git+https://github.com/kazi-faas/kazi.git"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main",{"name":"dev","prerelease":true},"next"]},"publishConfig":{"access":"public"},"gitHead":"e3877ff2f3fbf917c157b71a6b4e17c2abc95a3a","description":"Serverless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js fu","bugs":{"url":"https://github.com/kazi-faas/kazi/issues"},"homepage":"https://github.com/kazi-faas/kazi#readme","_id":"@kazi-faas/cli@1.0.2","_nodeVersion":"16.13.2","_npmVersion":"8.4.0","dist":{"integrity":"sha512-kh4Nn5BZxzKKkTUvzs29JQh57Gibj//SKs5/ebtSPVGDV1NUKRFCBBWXhvl4PU0a2jokyVvVo82N9R/AM2l2LQ==","shasum":"567bbbbae1bcaa198f7fabb9a66d1be54f60fcb9","tarball":"https://registry.npmjs.org/@kazi-faas/cli/-/cli-1.0.2.tgz","fileCount":3,"unpackedSize":15007,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh9BPkCRA9TVsSAnZWagAAu8EP/2HK2zAHu4NcIf8vRvaY\nGS1RGcNXgj6VNqzO8OqKK+4k9ZGfilbu7xKW/3vYotdMOJLIG0PfSqVDM+Qr\n976Uw3Enye2XGL1jYvZT/Ch5aU2fjUnxhVcODZjlOfL029IPhfjYzoUseNCi\n4H/iGLuyumqCn3j7CzqpBhNs/Ca4RgIsmjplBkrxvCuGLnMb1k3SfDX+B+I7\nWabU5hQlwwVkimJaFe50XURg5+7WT1S5sVuLamp4sitw43+ybT8gZDtsYKiV\nF6/HmG9Gj3Rkz1Ys/bvip1SmNYSy8jF5NqFa3MC1tpirkwn1P43aMSGBg7aW\n0pU7zhotM6OqnmbhYz12fsX8peREY1EL369qIYmTHmSOQTlN3nkdC+o2wW/0\nD6pjkTRuyVXM06g6JhITopM9vWd2Vp8WfOVgOulPmbfaViUSR4Tw3v7OWEZI\nsh79urGogLGdzJcVXGgYmgynWKrbbhitbdlJbhyNUkT9bFY8Hjp4kJVdtSTW\ndjNqD5YL37pYvoNGghJwEXiOg7habwnYX4sPM4YLsa53e5aXRprQiFbYbdir\nXTMhy0jBfBeZgCWGBE7I7Hq4Ze1Q6kooMHvHFEjwJljCsyQIPh9bdnK8ZlkF\nTjHghs3CI0CXV2Fo5wDS/Mn09j1eSILymEDV5nUMF2/Ghrzs+FQcFPyvt0ja\nLny1\r\n=3r5i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBZG59fHyGjYsB1EdhaDaROAuqeSC7bGgUMNqLfVPgBrAiEAuLUgaXOGn23eEAJOrQn/ibi9P7xNHmOlhdAR3kaAtLE="}]},"_npmUser":{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"},"directories":{},"maintainers":[{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.0.2_1643385828263_0.5592758250131682"},"_hasShrinkwrap":false},"1.0.3":{"name":"@kazi-faas/cli","version":"1.0.3","license":"MIT","bin":{"kazi":"dist/cli.js"},"engines":{"node":">=16"},"scripts":{"build":"tsc","build:watch":"tsc --watch","start":"npm run build && dist/cli.js","pretest":"npm run build","test":"xo && ava","semantic-release":"npm run build && semantic-release"},"dependencies":{"@kubernetes/client-node":"^0.16.1","degit":"^2.8.4","got":"^11.8.3","ink":"^3.2.0","ink-table":"^3.0.0","ink-task-list":"^1.1.0","meow":"^9.0.0","pkg-install":"^1.0.0","react":"^17.0.2"},"ava":{"typescript":{"extensions":["tsx"],"rewritePaths":{"source/":"dist/"}}},"xo":{"extends":"xo-react","rules":{"react/prop-types":"off"}},"devDependencies":{"@ava/typescript":"^3.0.1","@sindresorhus/tsconfig":"^2.0.0","@types/degit":"^2.8.3","@types/react":"^17.0.37","ava":"^3.15.0","chalk":"^4.1.2","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","ink-testing-library":"^2.1.0","typescript":"^4.5.2","xo":"^0.39.1","semantic-release":"^19.0.2"},"repository":{"type":"git","url":"git+https://github.com/kazi-faas/kazi.git"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main",{"name":"dev","prerelease":true},"next"]},"publishConfig":{"access":"public"},"gitHead":"4c38e0501f89d7714c783e35b5c972e6b1a62c93","description":"Serverless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js fu","bugs":{"url":"https://github.com/kazi-faas/kazi/issues"},"homepage":"https://github.com/kazi-faas/kazi#readme","_id":"@kazi-faas/cli@1.0.3","_nodeVersion":"16.13.2","_npmVersion":"8.4.0","dist":{"integrity":"sha512-STYgHcDbXol/QbsX2Sad1tUVT5VQz/pVNu41Uzr9vG6RvBN9cwvMaXLBsvqzx/yO0Uf4HhAmdvEPgGyrd+WTJQ==","shasum":"6f833fe63d351f537b258a9cf676e8d018310d75","tarball":"https://registry.npmjs.org/@kazi-faas/cli/-/cli-1.0.3.tgz","fileCount":4,"unpackedSize":15818,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh9BUzCRA9TVsSAnZWagAAtd8P/05mkGODG3EclE/CbYrM\nCZjbw9SRWyxlGUxXKpE/CMN4/X7Wj33O3SWAzF7GAWtRRlZww8szsCuezpKJ\nQNVpGQA5JBHU9KcQgkaJsCg1jGeGpWgn/lcoFvb0v3S6W2GdgN5av38XpYIv\n2pJeuYlUAPPuRPVAwCBybQS62DlABMwZi5JIO+M4lou8EqMBMiA957J6tMx/\nJ8VdQUznGMv2P0mv9xvLQOkMPoU12xinoy3nvfZxcdDa0o2j3zE34L4BXGsl\ny9VozcD2ALtfj6hwWI8KbaXNztKPYLchH6cKHOH2YgOzWQ1vauK/lp0JBewg\nvBiDYo0TEx4rEwclnrYHA4W5z3bI6DZ3QIDulJkcvH7pBl0FgIKXXfM1LUy6\nH8HSoCpbwRQokSKw0mbZELow9h3OYrxHbV5LEqH+vCGPCLSiA/28sSFkTHwR\n1n3O7vJLOZx/p76SDhXKy7IHBnqflMRaeDXjnhE4oygRlLVbq5cBEhny/7VI\nV6X232mhhObdRVdTyxmFXe+rAJR4j7Xu/a6ok+kN/nfGNqh9wAyB1hXhyU7F\nRbrKuHmhW4r/Dv6V4K5H0gTjKpYnCzF86Tj4Zqu8JEkruONLigMcDK0fUDxT\nikfundRwZ80TfzPvnIJ7EmQEL25ptQ1mi++PbLbTEPCF6yLsIgAxA3EkbiJS\nOYvs\r\n=luYk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChCf3E1WVdViARz/icGrR0k8no8+O8B180AgIrIM7aMQIgar76/IAbx9p53eJACXEMI2cTtGtbSrRRGXaMdx1DU7M="}]},"_npmUser":{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"},"directories":{},"maintainers":[{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.0.3_1643386163338_0.3362477907168402"},"_hasShrinkwrap":false},"1.0.4":{"name":"@kazi-faas/cli","version":"1.0.4","license":"MIT","bin":{"kazi":"dist/cli.js"},"engines":{"node":">=16"},"scripts":{"build":"tsc","build:watch":"tsc --watch","start":"npm run build && dist/cli.js","pretest":"npm run build","test":"xo && ava","semantic-release":"npm run build && semantic-release"},"dependencies":{"@kubernetes/client-node":"^0.16.1","degit":"^2.8.4","got":"^11.8.3","ink":"^3.2.0","ink-table":"^3.0.0","ink-task-list":"^1.1.0","meow":"^9.0.0","pkg-install":"^1.0.0","react":"^17.0.2"},"ava":{"typescript":{"extensions":["tsx"],"rewritePaths":{"source/":"dist/"}}},"xo":{"extends":"xo-react","rules":{"react/prop-types":"off"}},"devDependencies":{"@ava/typescript":"^3.0.1","@sindresorhus/tsconfig":"^2.0.0","@types/degit":"^2.8.3","@types/react":"^17.0.37","ava":"^3.15.0","chalk":"^4.1.2","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","ink-testing-library":"^2.1.0","typescript":"^4.5.2","xo":"^0.39.1","semantic-release":"^19.0.2"},"repository":{"type":"git","url":"git+https://github.com/kazi-faas/kazi.git"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main",{"name":"dev","prerelease":true},"next"]},"publishConfig":{"access":"public"},"gitHead":"cbe2a9142db1a83075f6ccdc2da5eb97cfda4c03","description":"Serverless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js fu","bugs":{"url":"https://github.com/kazi-faas/kazi/issues"},"homepage":"https://github.com/kazi-faas/kazi#readme","_id":"@kazi-faas/cli@1.0.4","_nodeVersion":"16.13.2","_npmVersion":"8.4.0","dist":{"integrity":"sha512-NitnSmjfCS8mqR7339hL3nLCcIbWa3l2ZfTQd/K49QQG2kUac8kvAhFihJUtK3rZmj0/ru+axNbDfqRkcCKngA==","shasum":"69f27488f1e01931756c92ec7716d6039b3f06ff","tarball":"https://registry.npmjs.org/@kazi-faas/cli/-/cli-1.0.4.tgz","fileCount":4,"unpackedSize":15818,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh9Be7CRA9TVsSAnZWagAAHpYP/29DEF8kn0dU4Earsdid\njLHnZ7WfReU/HdKwV2tBntIr0SQz6KZth/W7mQ3TZ33b2Y7pn6pSzZ+9ZfGA\nL8wM2FiPU0BPGSfdup71BErSkz1gtul7f5xEsR/OvY7Soa0iF42/DkQLtbFJ\nKeDlbMyNyrpdVPHyK+PgyIa3rtGXvnqGlUwM/2MnsV0yvQ+41KbAtHWrtskx\nALYbDWrphklNkKpdjZ7tW+Qv9XqSKJzLPLgTx47+JFxBcatpS/OIdwmlmr60\n5wEqMyUKSNXErzf4P5AutGN1XWHwCt/enHLTDgxcJ55TglPKE+vVYGODlJkP\nmE0v5dfQYPuflWlpLYB6gJzO4SgWc0qbQOOeXA6eQlXjK+CcKL+2mfJqvbPV\n6o9EyBYHTT/McxrFYVqp4WkBJH5iAEl5V0Tl0kxEDcDvlHu8o7rT9i9Atdsy\nXZx+BZ76VtXcHMu2GSXuD/ysPFHRXjW1P3NzEWPslGeIkHb8zUa94a+1UYdP\nlYqgbyBRPwHryOroj0QBdiD9j+O7kwH04a4vVINxXjG+vXdDWpeeUgMaiQeH\nBVymk8MVaxdUj1+5tSr+4qi3ahe/DmZ6Wi+2mwgrwIQiKCDRKwhupg5OidP1\n3Cn0nY4Cs5JUQLYONCAxvqgzZaNtTc0zvWYM3/QztLeEIQVwGlIbBND0vXDQ\n9aTt\r\n=BJAW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIErqLQ7eIvb7EULuMzh5IvT/SgB7sbKhRYFr/g57V01dAiEAg20kPe+V4rHcNB2sfEMRvWeLjf/i6jQQ/7mFK50YAVc="}]},"_npmUser":{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"},"directories":{},"maintainers":[{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.0.4_1643386811392_0.5692986549330314"},"_hasShrinkwrap":false},"1.0.5":{"name":"@kazi-faas/cli","version":"1.0.5","license":"MIT","bin":{"kazi":"dist/cli.js"},"engines":{"node":">=16"},"scripts":{"build":"tsc","build:watch":"tsc --watch","start":"npm run build && dist/cli.js","pretest":"npm run build","test":"xo && ava","semantic-release":"npm run build && semantic-release"},"dependencies":{"@kubernetes/client-node":"^0.16.1","degit":"^2.8.4","got":"^11.8.3","ink":"^3.2.0","ink-table":"^3.0.0","ink-task-list":"^1.1.0","meow":"^9.0.0","pkg-install":"^1.0.0","react":"^17.0.2"},"ava":{"typescript":{"extensions":["tsx"],"rewritePaths":{"source/":"dist/"}}},"xo":{"extends":"xo-react","rules":{"react/prop-types":"off"}},"devDependencies":{"@ava/typescript":"^3.0.1","@sindresorhus/tsconfig":"^2.0.0","@types/degit":"^2.8.3","@types/react":"^17.0.37","ava":"^3.15.0","chalk":"^4.1.2","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","ink-testing-library":"^2.1.0","typescript":"^4.5.2","xo":"^0.39.1","semantic-release":"^19.0.2"},"repository":{"type":"git","url":"git+https://github.com/kazi-faas/kazi.git"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main",{"name":"dev","prerelease":true},"next"]},"publishConfig":{"access":"public"},"gitHead":"bdb802e5bc1c800252b881865995e502d70bba61","description":"Serverless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js fu","bugs":{"url":"https://github.com/kazi-faas/kazi/issues"},"homepage":"https://github.com/kazi-faas/kazi#readme","_id":"@kazi-faas/cli@1.0.5","_nodeVersion":"16.13.2","_npmVersion":"8.4.0","dist":{"integrity":"sha512-M0AIaaH1L5xahwOVkH06VufeqDe/ikqZ3Yo5Jz9SDwu2JjECmpTOc4bYAZIiK/3Gq5XMbeDd68G34VmhtKWbBw==","shasum":"75907984e3357e89d4eadaf4144ac49cf325a7e2","tarball":"https://registry.npmjs.org/@kazi-faas/cli/-/cli-1.0.5.tgz","fileCount":4,"unpackedSize":15818,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh9BsZCRA9TVsSAnZWagAARf8P+QHSEjH+/hTdPHnbdLXm\nYtZui5/XgRpoobo7BI2BVPqP3adYHmbhJJWOzBY+SaPb44rzDFJCyzbOEFDs\n90FevWjOEQappsKxEVfyL6k6Gpg0nS2HtOR+Dz4VKKqRRJFvjffPmPYafnEN\nJTaktMe+3HTmJEEmdL5iH55m8bv0OIArxczKS1Gz5rvHLe6sl7PgH05cb6pz\ngQlPXzEOKXVnwfmi41cwbgjWOAXyF0x+XhA23i2G22ys3Fil+QJ9v9R0vEtn\nWqBD5KCuSK2lNVgPPfzmYqrMUjBWKV9zgekP2KXeKe1TtQURDV94tG6JRXHn\newpSK3EyQ+QKUJhCMVV5mhy9vAe/wT2Nw9ezBDzVhovcR2s0q2d/9P+R7ubH\nrEepeaq+/y1/bclk2tegi549HyGNg5dJJHLOojir6Cnvdu1XIYK8TzkDvkPv\nsx2vQovupdqsKlbj8q+32zHRZO/+WjESaawu3+6WceCLM/GjHCuPrCazmF+S\nw8IkG1psy2XFQsMAkIqpijggj8YvMPE9fZ2RbLvxI5ff215chqxH8mDeDyRA\nKi90TQR5Sf3Fhv6C1BM7nBc+esXOnEMcERiJ7XGfOGaOOMtI7Dn6jY9oT/rJ\nQs0GvcFfFrFqHhC4brdcyzKoTEtlQHG+85UdKtE2jFBYU2PPN5e8A1+GrAqt\nsk7d\r\n=qfVL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnaRDJ7m7QTX8xF+HYGfdNomzAbMGrGv8y0n91ovO7swIhALcz4KlJCwxZhNQTtMbdgQ3jtCKMRlm9ouO6UTMxIwoX"}]},"_npmUser":{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"},"directories":{},"maintainers":[{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.0.5_1643387672936_0.31685200306976147"},"_hasShrinkwrap":false},"1.0.6-dev.1":{"name":"@kazi-faas/cli","version":"1.0.6-dev.1","license":"MIT","bin":{"kazi":"dist/cli.js"},"engines":{"node":">=16"},"scripts":{"build":"tsc","build:watch":"tsc --watch","start":"npm run build && dist/cli.js","pretest":"npm run build","test":"xo && ava","semantic-release":"npm run build && semantic-release"},"dependencies":{"@kubernetes/client-node":"^0.16.1","degit":"^2.8.4","got":"^11.8.3","ink":"^3.2.0","ink-table":"^3.0.0","ink-task-list":"^1.1.0","meow":"^9.0.0","pkg-install":"^1.0.0","react":"^17.0.2"},"ava":{"typescript":{"extensions":["tsx"],"rewritePaths":{"source/":"dist/"}}},"xo":{"extends":"xo-react","rules":{"react/prop-types":"off"}},"devDependencies":{"@ava/typescript":"^3.0.1","@sindresorhus/tsconfig":"^2.0.0","@types/degit":"^2.8.3","@types/react":"^17.0.37","ava":"^3.15.0","chalk":"^4.1.2","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","ink-testing-library":"^2.1.0","typescript":"^4.5.2","xo":"^0.39.1","semantic-release":"^19.0.2"},"repository":{"type":"git","url":"git+https://github.com/kazi-faas/kazi.git"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main",{"name":"dev","prerelease":true},"next"],"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator",["@semantic-release/npm",{"assets":["dist/**"]}],["@semantic-release/github",{"assets":["dist/**"]}]]},"publishConfig":{"access":"public"},"readme":"# kazi - your serverless function tool for Knative\n\nServerless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js functions, but hopefully include a Deno runtime in the near future (perhaps you can sponsor this feature. Check out the [sponsors pages](#)\n\n> Knative provides reduced operational overhead, auto-scaling, automatic domain and TLS provisioning. Add functions to it, you get the features of serverless functions that has become popular and loved among developers.\n\n## Features\n\n- **Standard:** The function runtime is just HTTP. It runs anywhere Node.js is supported!\n- **Lightweight:** The function has just one dependency, which weighs less than 1MB.\n- **Simple:** Designed for single purpose functions.\n- **Easy:** Super easy deployment and containerization. Local development experience is the same as any Node.js application development.\n  - For local development, environment variables are automatically read from a `.env` file.\n  - For Kubernetes deployment, environment variables from `.env` is saved in a ConfigMap and used at runtime.\n  - JSON parsing is opt-in.\n\n## Install\n\n```bash\n$ npm install -g kazi\n```\n\n## Pre-requisite\n\n1. Docker\n2. pack CLI\n3. Node 16.3.x (some commands may not run smoothly in versions below 16)\n\n## CLI\n\n```\nCommands\n  $ kazi create: Scaffold a new project\n  $ kazi list: List the functions deployed using kazi\n  $ kazi deploy: Deploy a function (only works if you're inside the function's directory)\n\t$ kazi --help: Show help text\n\nUsage\n  $ kazi create <Function_Name>\n\nOptions\n  --registry (-r),  Your registry namespace\n\t--use-yarn, Use Yarn to install dependencies\n\nExamples\n  $ kazi create hello --registry=docker.io/pmbanugo\n```\n\n## Contributing\n\nThis repo is still a work in progress, so contributiong rules might change. But you're free to send PR, see [RELEASE doc](/RELEASE.md) for release information and [CONTRIBUTING](#) for contributiong guideline.\n","readmeFilename":"README.md","gitHead":"c5861a349ff79fdf75b607a67bc888adec220e3b","description":"Serverless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js fu","bugs":{"url":"https://github.com/kazi-faas/kazi/issues"},"homepage":"https://github.com/kazi-faas/kazi#readme","_id":"@kazi-faas/cli@1.0.6-dev.1","_nodeVersion":"16.13.2","_npmVersion":"8.4.0","dist":{"integrity":"sha512-G0zFZhjRei2IdONbgrL25BG0dnmgqs3aDAdpKIFsH+qfH3zhJvwY2FMxDYos8PC7KSwQxw0OOZEmKH7/hr1mTg==","shasum":"4ff48aaed6f0823fd26b55e3bf58331b63e80c6d","tarball":"https://registry.npmjs.org/@kazi-faas/cli/-/cli-1.0.6-dev.1.tgz","fileCount":4,"unpackedSize":16118,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh9CH3CRA9TVsSAnZWagAAwtIP/i8YLFd7N2vcRVgIPMFm\nbYexEgkei1sljr+2TI1vLR1S1I0k2bNPfQReZMY4k4bYE+Ga/2mvSqeFzmNQ\n159ewqhHjW46TN3+l62wBwZlHd/mN/4tdrFUNU+0hPEZ/izBebvXpOAcbo7r\nlCVnumZjD4TCk0tda/z5PAgR+hVeKdQGgkAI7E9AJ34Aa9Oc0wRVT3kNUXiO\nwiCLgD2+y6FkBUp8RA0Lawi8HimKgpAkUYh0lwI70G8yegR4XTttPqeujnRU\nJGNYKzbeecPlUbiXlJYaE3QNQidKxba9E3O1rX52v+GPOZL9oMf9CyeIRlTp\nR4LPj4E6IuIaJUMCA2hyJJywIFHUT5Q8Fsi50mIa7hJAJv2JJJkKw/O1mNbz\nlCNYLJ8R2GnIT/9nC7QXm4DORtT6+/7NMD+IoYxiuMzv5OGThBIt4P78yM5w\ngy84RI+O93QadkwEL+kcyFjCu/P57OzcdKud+M8HTQudIc0uqYZdQk9/OWUb\nNcJBTzcHHIXaUzP2rs2jSTEKDueCGUDBBwqUekufTeopGTy12Aw1gpTYC44+\nszPRuxKC798GvFFMkc9f/YpvKZ7gVgLxczlBedo7Pee6WT0NC6XFwkJR6Jgg\nspIpgbuAmiJXgzm+scxZcY6sQJGbTIfmmSwLDTRH27nZ13FIlzhi+hyHqa/p\nREh5\r\n=Qani\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDimNmSCfYBY/IfMKrx8VrXIGT8XGgmeUfvp1Pm8afQEAiBtP4yPPA5EVXPE5OspMcOs0zdJ5rW7EYCc8bvJ017M3g=="}]},"_npmUser":{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"},"directories":{},"maintainers":[{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.0.6-dev.1_1643389431455_0.628762531292949"},"_hasShrinkwrap":false},"1.0.6-dev.2":{"name":"@kazi-faas/cli","version":"1.0.6-dev.2","license":"MIT","bin":{"kazi":"dist/cli.js"},"engines":{"node":">=16"},"scripts":{"build":"tsc","build:watch":"tsc --watch","start":"npm run build && dist/cli.js","pretest":"npm run build","test":"xo && ava","semantic-release":"npm run build && semantic-release"},"dependencies":{"@kubernetes/client-node":"^0.16.1","degit":"^2.8.4","got":"^11.8.3","ink":"^3.2.0","ink-table":"^3.0.0","ink-task-list":"^1.1.0","meow":"^9.0.0","pkg-install":"^1.0.0","react":"^17.0.2"},"ava":{"typescript":{"extensions":["tsx"],"rewritePaths":{"source/":"dist/"}}},"xo":{"extends":"xo-react","rules":{"react/prop-types":"off"}},"devDependencies":{"@ava/typescript":"^3.0.1","@sindresorhus/tsconfig":"^2.0.0","@types/degit":"^2.8.3","@types/react":"^17.0.37","ava":"^3.15.0","chalk":"^4.1.2","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","ink-testing-library":"^2.1.0","typescript":"^4.5.2","xo":"^0.39.1","semantic-release":"^19.0.2"},"repository":{"type":"git","url":"git+https://github.com/kazi-faas/kazi.git"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main",{"name":"dev","prerelease":true},"next"],"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator",["@semantic-release/npm",{"assets":["dist"]}],["@semantic-release/github",{"assets":["dist"]}]]},"publishConfig":{"access":"public"},"readme":"# kazi - your serverless function tool for Knative\n\nServerless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js functions, but hopefully include a Deno runtime in the near future (perhaps you can sponsor this feature. Check out the [sponsors pages](#)\n\n> Knative provides reduced operational overhead, auto-scaling, automatic domain and TLS provisioning. Add functions to it, you get the features of serverless functions that has become popular and loved among developers.\n\n## Features\n\n- **Standard:** The function runtime is just HTTP. It runs anywhere Node.js is supported!\n- **Lightweight:** The function has just one dependency, which weighs less than 1MB.\n- **Simple:** Designed for single purpose functions.\n- **Easy:** Super easy deployment and containerization. Local development experience is the same as any Node.js application development.\n  - For local development, environment variables are automatically read from a `.env` file.\n  - For Kubernetes deployment, environment variables from `.env` is saved in a ConfigMap and used at runtime.\n  - JSON parsing is opt-in.\n\n## Install\n\n```bash\n$ npm install -g kazi\n```\n\n## Pre-requisite\n\n1. Docker\n2. pack CLI\n3. Node 16.3.x (some commands may not run smoothly in versions below 16)\n\n## CLI\n\n```\nCommands\n  $ kazi create: Scaffold a new project\n  $ kazi list: List the functions deployed using kazi\n  $ kazi deploy: Deploy a function (only works if you're inside the function's directory)\n\t$ kazi --help: Show help text\n\nUsage\n  $ kazi create <Function_Name>\n\nOptions\n  --registry (-r),  Your registry namespace\n\t--use-yarn, Use Yarn to install dependencies\n\nExamples\n  $ kazi create hello --registry=docker.io/pmbanugo\n```\n\n## Contributing\n\nThis repo is still a work in progress, so contributiong rules might change. But you're free to send PR, see [RELEASE doc](/RELEASE.md) for release information and [CONTRIBUTING](#) for contributiong guideline.\n","readmeFilename":"README.md","gitHead":"472ff7712220b5b7502354c7292f1f1103ded38b","description":"Serverless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js fu","bugs":{"url":"https://github.com/kazi-faas/kazi/issues"},"homepage":"https://github.com/kazi-faas/kazi#readme","_id":"@kazi-faas/cli@1.0.6-dev.2","_nodeVersion":"16.13.2","_npmVersion":"8.4.0","dist":{"integrity":"sha512-jOJ3RmfIlPuc7T2pkAEOE91/2WaCGDRU3rJaDqZoyL6LhuvcOOTcecrTds2qpKCxe3MfQbL0SwGZiBwY6rpvGw==","shasum":"7c2eccb75ea992d77d6012111b3f43ffe88f5134","tarball":"https://registry.npmjs.org/@kazi-faas/cli/-/cli-1.0.6-dev.2.tgz","fileCount":4,"unpackedSize":16112,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh9DRqCRA9TVsSAnZWagAA5x4P/1WaKQifRLdyCM5k89tq\npWQ6ebuYtlDn0g+SnypbIuqggPoIogdNcyWqHsYUypVxoIjsV841cgOmCdRG\nlFu1ysYqgcj5EeOSuByEw4ySSjjqylqCR1HE0hOPQ5guZVLFmFTtBmPqvhfE\np3OjCp15H8DdXAN5ljQEqUkNRm7OdVNggSYNaIADuLqwFQ6SBtSuKSxiDoCs\ni2QWnLDMcHMulrQiuZmWuf2wTLfghdJPWUQRgHgRQqQz8s0B7A6s3TekUJzB\n9YWfunsEuCnNApTkQQy6/LtIfThfRq3Rnh6Zzu2VFWVbBeSO4QNfuF3ERdX8\nhJG6o9plX541K+aaIpB88VqJBoGIrBthM1JKYjwjGIx8uWwweMWCY8zMeN4d\nyiux+NFkAOGlTesQemlea+ysuH4cavJG4/GfkX5+vOWaU7D7nqV+YXvYwAeu\nLumTIPHEeCmpN/3lMr8Uz/AWNUI9gWO4086JRJslqKTl2N3keMNYQ5CK8feM\nGOnixVP0KybmBXp0jDgh+fv6ZjR8gG+VBDaaLbcfljKxNLHIsJ3rcRHZMVDT\nqtIu3VqAoU+PEzn8Irp+AvwPWcGl1e9mgyDfJudyxpmB4fbrzExXlMgeTJmf\nelxcTJxOztrMU6hou/GWy0KPzU5HvHbTJOhPAik+fxvspJXBqExEc7DWKHCK\nk+u5\r\n=cDLb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2fh1Pjg9isBMRXf9afiN0o0cQ6Pq1l84d00lklqE7uQIhAMPeJZo2eYqNlPWrXHlj6s5cH5eox00NV9GKYydV+MYe"}]},"_npmUser":{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"},"directories":{},"maintainers":[{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.0.6-dev.2_1643394154540_0.12275361004341123"},"_hasShrinkwrap":false},"1.0.6-dev.3":{"name":"@kazi-faas/cli","version":"1.0.6-dev.3","license":"MIT","bin":{"kazi":"dist/cli.js"},"engines":{"node":">=16"},"scripts":{"build":"tsc","build:watch":"tsc --watch","start":"npm run build && dist/cli.js","pretest":"npm run build","test":"xo && ava","semantic-release":"npm run build && semantic-release"},"dependencies":{"@kubernetes/client-node":"^0.16.1","degit":"^2.8.4","got":"^11.8.3","ink":"^3.2.0","ink-table":"^3.0.0","ink-task-list":"^1.1.0","meow":"^9.0.0","pkg-install":"^1.0.0","react":"^17.0.2"},"ava":{"typescript":{"extensions":["tsx"],"rewritePaths":{"source/":"dist/"}}},"xo":{"extends":"xo-react","rules":{"react/prop-types":"off"}},"devDependencies":{"@ava/typescript":"^3.0.1","@sindresorhus/tsconfig":"^2.0.0","@types/degit":"^2.8.3","@types/react":"^17.0.37","ava":"^3.15.0","chalk":"^4.1.2","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","ink-testing-library":"^2.1.0","typescript":"^4.5.2","xo":"^0.39.1","semantic-release":"^19.0.2"},"repository":{"type":"git","url":"git+https://github.com/kazi-faas/kazi.git"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main",{"name":"dev","prerelease":true},"next"]},"publishConfig":{"access":"public"},"readme":"# kazi - your serverless function tool for Knative\n\nServerless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js functions, but hopefully include a Deno runtime in the near future (perhaps you can sponsor this feature. Check out the [sponsors pages](#)\n\n> Knative provides reduced operational overhead, auto-scaling, automatic domain and TLS provisioning. Add functions to it, you get the features of serverless functions that has become popular and loved among developers.\n\n## Features\n\n- **Standard:** The function runtime is just HTTP. It runs anywhere Node.js is supported!\n- **Lightweight:** The function has just one dependency, which weighs less than 1MB.\n- **Simple:** Designed for single purpose functions.\n- **Easy:** Super easy deployment and containerization. Local development experience is the same as any Node.js application development.\n  - For local development, environment variables are automatically read from a `.env` file.\n  - For Kubernetes deployment, environment variables from `.env` is saved in a ConfigMap and used at runtime.\n  - JSON parsing is opt-in.\n\n## Install\n\n```bash\n$ npm install -g kazi\n```\n\n## Pre-requisite\n\n1. Docker\n2. pack CLI\n3. Node 16.3.x (some commands may not run smoothly in versions below 16)\n\n## CLI\n\n```\nCommands\n  $ kazi create: Scaffold a new project\n  $ kazi list: List the functions deployed using kazi\n  $ kazi deploy: Deploy a function (only works if you're inside the function's directory)\n\t$ kazi --help: Show help text\n\nUsage\n  $ kazi create <Function_Name>\n\nOptions\n  --registry (-r),  Your registry namespace\n\t--use-yarn, Use Yarn to install dependencies\n\nExamples\n  $ kazi create hello --registry=docker.io/pmbanugo\n```\n\n## Contributing\n\nThis repo is still a work in progress, so contributiong rules might change. But you're free to send PR, see [RELEASE doc](/RELEASE.md) for release information and [CONTRIBUTING](#) for contributiong guideline.\n","readmeFilename":"README.md","gitHead":"e07616b3b5a478858abd88d0c4e77969459f6d35","description":"Serverless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js fu","bugs":{"url":"https://github.com/kazi-faas/kazi/issues"},"homepage":"https://github.com/kazi-faas/kazi#readme","_id":"@kazi-faas/cli@1.0.6-dev.3","_nodeVersion":"16.13.2","_npmVersion":"8.4.0","dist":{"integrity":"sha512-veManl+PJl9Y32kzlpFjISCqIKwcWzJNR1Dl1T+S27/jBkAbu9DwVNghoLfTF2Kil9G/PdHlEZpPsJB7LX0Z4Q==","shasum":"1b9b44ee2bab158807549e08b9e83c454c4d5d0a","tarball":"https://registry.npmjs.org/@kazi-faas/cli/-/cli-1.0.6-dev.3.tgz","fileCount":23,"unpackedSize":39627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh9DUcCRA9TVsSAnZWagAA1scP/1Zd3FS5ZW2gcP06vbvC\n9eHi1TUPNGHsp83lWAy9KqI7VErNxaRXOtTQxI9iU2v9dihEn2P1+TEQok5x\nccY2t/5IZ88kXtcXv6Ql1BgaVbku8nd4j4a6WdfuBZ1eBJyssGz6cqoG7LGg\nJ1YeuOepbQScyeiNdZSR4LUt2bf4biKH/9sqLXZdBX9wPvYytQFLYoqqYBmj\nzcWyHzftg5PI+9wqQOsbOrIZH/yLZCouypAKY1fNOX63aFV9YnORfwDY/P3k\nbTvk50pKcGyL7YLIiQXiZsxn0sHyzu+v8tsfoM5nZNuEMTXGaAn/d3APkQuj\nK1FV3wrgKCjxzfvj1cwgQcOxOFHzM3dCU/QwRC4zSTAM7U8pYA56Gsu00BaZ\nWF27pMUB1HzFZyN/Nwr1mh2lfoSJAYg80EstCit7XSWfAKWLy4JmrmG6zxc+\ncRcQwO3wi/O9agGOBwOw9+EuBZT+5b6KCEUOyZY9sL6Fg3vZZYe8E7YOUr5Q\ncuJ4UzJdifjcAaYzCteoajddIwS/eSQKtAW9LYtBvryGgIixkf6Bt927A99u\nMtT9VLrLfgtYAowQCK5Sus+xmqTfr5Rabp3jcCViDj7SJBZbiDhxLmgZ3zgj\nZ+0sZmLUsB8RveDSCaFbWdnUYDWdqm4ivIKmdEbqEBGdOwWLlc7gqt2YJAGm\ndMor\r\n=uYcv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAVuKtREffPA/CpYISus5x936/+BodBdqQMDvSLew16pAiBKGGxD3WiHgFCE4/KmK0ZpdB+rG11bl9/p9irwT6jO6w=="}]},"_npmUser":{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"},"directories":{},"maintainers":[{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.0.6-dev.3_1643394332774_0.4057478546785347"},"_hasShrinkwrap":false},"1.0.6":{"name":"@kazi-faas/cli","version":"1.0.6","license":"MIT","bin":{"kazi":"dist/cli.js"},"engines":{"node":">=16"},"scripts":{"build":"tsc","build:watch":"tsc --watch","start":"npm run build && dist/cli.js","pretest":"npm run build","test":"xo && ava","semantic-release":"npm run build && semantic-release"},"dependencies":{"@kubernetes/client-node":"^0.16.1","degit":"^2.8.4","got":"^11.8.3","ink":"^3.2.0","ink-table":"^3.0.0","ink-task-list":"^1.1.0","meow":"^9.0.0","pkg-install":"^1.0.0","react":"^17.0.2"},"ava":{"typescript":{"extensions":["tsx"],"rewritePaths":{"source/":"dist/"}}},"xo":{"extends":"xo-react","rules":{"react/prop-types":"off"}},"devDependencies":{"@ava/typescript":"^3.0.1","@sindresorhus/tsconfig":"^2.0.0","@types/degit":"^2.8.3","@types/react":"^17.0.37","ava":"^3.15.0","chalk":"^4.1.2","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","ink-testing-library":"^2.1.0","typescript":"^4.5.2","xo":"^0.39.1","semantic-release":"^19.0.2"},"repository":{"type":"git","url":"git+https://github.com/kazi-faas/kazi.git"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main",{"name":"dev","prerelease":true},"next"]},"publishConfig":{"access":"public"},"gitHead":"e07616b3b5a478858abd88d0c4e77969459f6d35","description":"Serverless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js fu","bugs":{"url":"https://github.com/kazi-faas/kazi/issues"},"homepage":"https://github.com/kazi-faas/kazi#readme","_id":"@kazi-faas/cli@1.0.6","_nodeVersion":"16.13.2","_npmVersion":"8.4.0","dist":{"integrity":"sha512-HAbzh8VREAQyJ40msy6Kd3VAp8wuMXBNSzMiiSj6U6wQWbAWjPmhaNdcIqwQq77UzEbETYzg8DXDMAndZty8vw==","shasum":"e8c9979dc61c0689606f5ce6133159b3af108b63","tarball":"https://registry.npmjs.org/@kazi-faas/cli/-/cli-1.0.6.tgz","fileCount":23,"unpackedSize":39621,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh9DjYCRA9TVsSAnZWagAARTQP/23S9A05c4zXv4+8Oxoi\n1ScUtHi7R8Kh53yw0O4btBmoTPopLAGKurjQhAtgaWUkhsmp5k4yMBywQQg/\n88bPcVS/yKEoKnXCu2fbVwvsY9ovnh2wEq/5tS0Y2mEBhSzw/xBz4a2Fv73S\nRFTtJMq28jc7unV54+3X2+9ajHII+wzO/cLr0OWTBiAB+TLE6jib9/2GidY2\n/dvn23cAOZkdYaVQ8iUC9DhiXROJj8MDnrkNnub2LZ6SRfHLxDVcKC1ds6+U\nTqSBeYC8DQF+8cl28KjZ3Jxep3Gop5G4NpprKwEJF5HHANDGGAPIplH0Nmcm\nli2oMCDQAMUESoKU11xGnUHg3E8BcbxjOqj86GXEI2xxNmnpEuXzOBnOpcfw\nO9LIZ7nhgMFoGNfVKTRy8quQv/fdVq8P7A7T2NYgEn8DlR0BfGhdMZ8jQAt9\ndDYwS/sv7jGdrFklyS+CFsjaH3vFboFwx9vKGYNAF8tHZ1nlUp+8UOMjGYO9\nXEu8S6XhmBg/0aKsyPNO8sdrxiFUHN0zSkm/y28tXPxA5yyINYwbU8eDjZLh\nAL2Vu4eMoNlyjhsbUHc7G+2Q4dYqfWYBYZzACoiO4d4F6/87Dn6rkk2747NW\nk0M6z3ye+gVGgU0wqdQV3HKIxgIQhgWGU+Ry7vNWvUeJcQqN0qMz/jEsdZgL\nWZWS\r\n=LEIi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDoMsahNJisXJBFUC/AzLhq9Xm+2x1EIEfO89TX9iso3gIgXpq/38N74NytbHs3wgBsTfqKtDeh+Ck2gMcv3JYoQk4="}]},"_npmUser":{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"},"directories":{},"maintainers":[{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.0.6_1643395288709_0.8385260937755774"},"_hasShrinkwrap":false},"1.1.0-dev.1":{"name":"@kazi-faas/cli","version":"1.1.0-dev.1","license":"MIT","bin":{"kazi":"dist/cli.js"},"engines":{"node":">=16"},"scripts":{"build":"tsc","build:watch":"tsc --watch","start":"npm run build && dist/cli.js","pretest":"npm run build","test":"xo && ava","semantic-release":"npm run build && semantic-release"},"dependencies":{"@kubernetes/client-node":"^0.16.1","degit":"^2.8.4","got":"^11.8.3","ink":"^3.2.0","ink-table":"^3.0.0","ink-task-list":"^1.1.0","meow":"^9.0.0","pkg-install":"^1.0.0","react":"^17.0.2"},"ava":{"typescript":{"extensions":["tsx"],"rewritePaths":{"source/":"dist/"}}},"xo":{"extends":"xo-react","rules":{"react/prop-types":"off"}},"devDependencies":{"@ava/typescript":"^3.0.1","@sindresorhus/tsconfig":"^2.0.0","@types/degit":"^2.8.3","@types/react":"^17.0.37","ava":"^3.15.0","chalk":"^4.1.2","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","ink-testing-library":"^2.1.0","typescript":"^4.5.2","xo":"^0.39.1","semantic-release":"^19.0.2"},"repository":{"type":"git","url":"git+https://github.com/kazi-faas/kazi.git"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main",{"name":"dev","prerelease":true},"next"]},"publishConfig":{"access":"public"},"readme":"# kazi - your serverless function tool for Knative\n\nServerless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js functions, but hopefully include a Deno runtime in the near future (perhaps you can sponsor this feature. Check out the [sponsors pages](#)\n\n> Knative provides reduced operational overhead, auto-scaling, automatic domain and TLS provisioning. Add functions to it, you get the features of serverless functions that has become popular and loved among developers.\n\n## Features\n\n- **Standard:** The function runtime is just HTTP. It runs anywhere Node.js is supported!\n- **Lightweight:** The function has just one dependency, which weighs less than 1MB.\n- **Simple:** Designed for single purpose functions.\n- **Easy:** Super easy deployment and containerization. Local development experience is the same as any Node.js application development.\n  - For local development, environment variables are automatically read from a `.env` file.\n  - For Kubernetes deployment, environment variables from `.env` is saved in a ConfigMap and used at runtime.\n  - JSON parsing is opt-in.\n\n## Install\n\n```bash\n$ npm install -g kazi\n```\n\n## Pre-requisite\n\n1. Docker\n2. pack CLI\n3. Node 16.3.x (some commands may not run smoothly in versions below 16)\n\n## CLI\n\n```\nCommands\n  $ kazi create: Scaffold a new project\n  $ kazi list: List the functions deployed using kazi\n  $ kazi deploy: Deploy a function (only works if you're inside the function's directory)\n\t$ kazi --help: Show help text\n\nUsage\n  $ kazi create <Function_Name>\n\nOptions\n  --registry (-r),  Your registry namespace\n\t--use-yarn, Use Yarn to install dependencies (default: false)\n\t--skip-install, Skip installing the dependencies (default: false)\n\nExamples\n  $ kazi create hello --registry=docker.io/pmbanugo\n```\n\n## Contributing\n\nThis repo is still a work in progress, so contributiong rules might change. But you're free to send PR, see [RELEASE doc](/RELEASE.md) for release information and [CONTRIBUTING](#) for contributiong guideline.\n","readmeFilename":"README.md","gitHead":"84d723de7087056f9e8c544ddf6c3e41d30c011b","description":"Serverless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js fu","bugs":{"url":"https://github.com/kazi-faas/kazi/issues"},"homepage":"https://github.com/kazi-faas/kazi#readme","_id":"@kazi-faas/cli@1.1.0-dev.1","_nodeVersion":"16.13.2","_npmVersion":"8.4.1","dist":{"integrity":"sha512-xMCs2sOL23fifUMZMB8yNNebwe0SPY+YbIzEYUZNo2WsfOGWbMyi5fTrmMEeQ6YVGEGSOAv+atUxsOqSd8YtJA==","shasum":"2dfbf1653c75dd267533180b95a3176a7760e4fd","tarball":"https://registry.npmjs.org/@kazi-faas/cli/-/cli-1.1.0-dev.1.tgz","fileCount":23,"unpackedSize":40820,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBDtmCRA9TVsSAnZWagAAExcP/026Ok/Qu74R8j6RS3F0\nBU+LQHcHDCG/kUhoXn7/vooPX98CiiiVUlF7R0JwoPE6HPAbkOe5m3S5ErIe\n2KXI5GxFDIUdN+CU9euMsYqCSqGTtcBGzecMtFdmoAzVUg8Ho6aoDFXFKfHa\n5gywioXld6fykiSkj6drVGv4Z1awgZMIy/9EpJednIpY6uP8btLFwUx+DoUj\nIkfrytEWlxXPTz8qJZmOOuUH+NENBTxe2ryf7z1a8tL9DUXi0REo2FLj6uf9\nq1Kyww0ahTXyBBYouHIUsS9SigVpz3pxdtmbNkdcYwBpEilZbEs+8Vth8Itq\nGn25VA+Oacd6HmC+4gSYkf+Iq98/cTMAv3ljlKRAvtSO3BFqBtogDF9Z+4rO\nPEXRsg8tAg+Vlono4aNhj90y/HPj6uUC2qNnAe001GVfHOp+nxTcaCkLi4qS\niQ7G16LKXu6W0kwN9eozrr9cl5tdqEjGH2yXA07VURvbjKByx3TOq9p6EjW9\nlDHyULnYnEKb8mb9ua4Cvb8Nfz7IinHf7XUztTNpe70+nKRYvnrUXG3xKsCF\nzfYRlRpJcZQUTNYqTdC+XkB+VP/am1nHofOJqVhJsGanQG92XQQ+LnQ5Vba+\n/ZKwegX4zsi0791mm0ZsqbqRIKn8y7Hy+bZmfOKgb6Vd/VNQ/jQHLJKiAIf+\nTKkt\r\n=y4gi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKBW0Eb3es/RGqrFcdTyffpPMTkdZFIwkepbMIIGOhSAIhALVO5o6FMIi8GfbVLvd6u4FALAZ/JUPEgeUjFYJgYSUr"}]},"_npmUser":{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"},"directories":{},"maintainers":[{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.1.0-dev.1_1644444518537_0.5675218701713134"},"_hasShrinkwrap":false},"1.1.0-dev.2":{"name":"@kazi-faas/cli","version":"1.1.0-dev.2","license":"MIT","bin":{"kazi":"dist/cli.js"},"engines":{"node":">=16"},"scripts":{"build":"tsc","build:watch":"tsc --watch","start":"npm run build && dist/cli.js","pretest":"npm run build","test":"xo && ava","semantic-release":"npm run build && semantic-release"},"dependencies":{"@kubernetes/client-node":"^0.16.1","degit":"^2.8.4","got":"^11.8.3","ink":"^3.2.0","ink-table":"^3.0.0","ink-task-list":"^1.1.0","meow":"^9.0.0","pkg-install":"^1.0.0","react":"^17.0.2"},"ava":{"typescript":{"extensions":["tsx"],"rewritePaths":{"source/":"dist/"}}},"xo":{"extends":"xo-react","rules":{"react/prop-types":"off"}},"devDependencies":{"@ava/typescript":"^3.0.1","@sindresorhus/tsconfig":"^2.0.0","@types/degit":"^2.8.3","@types/react":"^17.0.37","ava":"^3.15.0","chalk":"^4.1.2","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","ink-testing-library":"^2.1.0","typescript":"^4.5.2","xo":"^0.39.1","semantic-release":"^19.0.2"},"repository":{"type":"git","url":"git+https://github.com/kazi-faas/kazi.git"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main",{"name":"dev","prerelease":true},"next"]},"publishConfig":{"access":"public"},"readme":"# kazi - your serverless function tool for Knative\n\nServerless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js functions, but hopefully include a Deno runtime in the near future (perhaps you can sponsor this feature. Check out the [sponsors pages](#)\n\n> Knative provides reduced operational overhead, auto-scaling, automatic domain and TLS provisioning. Add functions to it, you get the features of serverless functions that has become popular and loved among developers.\n\n## Features\n\n- **Standard:** The function runtime is just HTTP. It runs anywhere Node.js is supported!\n- **Lightweight:** The function has just one dependency, which weighs less than 1MB.\n- **Simple:** Designed for single purpose functions.\n- **Easy:** Super easy deployment and containerization. Local development experience is the same as any Node.js application development.\n  - For local development, environment variables are automatically read from a `.env` file.\n  - For Kubernetes deployment, environment variables from `.env` is saved in a ConfigMap and used at runtime.\n  - JSON parsing is opt-in.\n\n## Install\n\n```bash\nnpm i -g @kazi-faas/cli\n```\n\n## Pre-requisite\n\n1. Docker\n2. pack CLI\n3. Node 16.3.x (some commands may not run smoothly in versions below 16)\n\n## Getting Started\n\n> TODO: A short guide that shows the concept so users can get started on the topic in under 10 minutes.\n\n## CLI\n\n```\nCommands\n  $ kazi create: Scaffold a new project\n  $ kazi list: List the functions deployed using kazi\n  $ kazi deploy: Deploy a function (only works if you're inside the function's directory)\n\t$ kazi --help: Show help text\n\nUsage\n  $ kazi create <Function_Name>\n\nOptions\n  --registry (-r),  Your registry namespace\n\t--use-yarn, Use Yarn to install dependencies (default: false)\n\t--skip-install, Skip installing the dependencies (default: false)\n\nExamples\n  $ kazi create hello --registry=docker.io/pmbanugo\n```\n\n## Contributing\n\nThis repo is still a work in progress, so contributiong rules might change. But you're free to send PR, see [RELEASE doc](/RELEASE.md) for release information and [CONTRIBUTING](#) for contributiong guideline.\n","readmeFilename":"README.md","gitHead":"fb90a5a9ae8f5394b14a7c663f63f7c4bad43374","description":"Serverless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js fu","bugs":{"url":"https://github.com/kazi-faas/kazi/issues"},"homepage":"https://github.com/kazi-faas/kazi#readme","_id":"@kazi-faas/cli@1.1.0-dev.2","_nodeVersion":"16.13.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-0WRjKxnvsfHMnfmfE+jAM+oUPR/CohEl24dZPBERCJgxr1yACItzHClCQYca5ngayyqD6G1TveUH8FcTCG9HnA==","shasum":"c64c3c0680bc215bcf9be79e4b05aa80ecf03333","tarball":"https://registry.npmjs.org/@kazi-faas/cli/-/cli-1.1.0-dev.2.tgz","fileCount":23,"unpackedSize":40905,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiB/tGCRA9TVsSAnZWagAATLgP/RTcZGeFMuasoSWJvKJh\nlhamSy3eWDIbSKCqmdO2Ps+eSEP0VwgfxxIHozg9KOADKlVqUc9UP/kexCYt\nMFrJk5UqS8wcM4whl2A6l5tYm7Eg+0BQl2TWZDCVLlObmeeD85v3Jqzsr2Ub\n5JHBqbQ8XbUKRUj+AE2vE1OLYt+3mPWhMdtDgE1jvCfsSid27H7Onj+PC9eT\nhgZhTxGmYvvA7vDiuDetxZB5IWlJo7XlxQ6sUlyrCCf7AiSKE81Pb7qoRvHG\nEZ9/DbrprIvhrgZbf8X4yr/aqjCx0tWzC4n/XC3d0bpECOwndXrhoxXGNwuw\nE3iyM2AwuFrFbbA8Z5AcTc13JAo/GEB6GTtiN0DSS2532PtntmXmB2FQpQ8i\n508HnC2SApBQdBReF9qZKooJRl7dhlUsJ9ztIdDrKWp+eUwM6+JNwA+c2C0Q\n9RfE9JJZXaHpJ7/zncGUsPQdypLlDYKdIXrOC5EHz7P9jGMSbq+NyzMHPBek\nPzksDVGHebfaAnltlDAp9T0yV3DcskSIuw8nL4Xu+6KxathRvvS62bBo1i9h\no95s9UlYSZA+Y+WMXpF2uxz+kFr/FMXRjltVjp6tg6WDEfgPr3Gwi8QxvXk6\nuwRnjKyab/beA9oaobaIK0FAIgyVH/KARzJc58mN8yG2e/ROPP2rX25nlAUa\nQ+Qv\r\n=oMe1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFKM3FWcTKPmp5bpC9JMwUYX+lBgD0uvB0yy/5bc5sVyAiB3fsGpAaebKVNT7sG0/vRcyseVl4Fl7+OWRaD9M/Jr3Q=="}]},"_npmUser":{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"},"directories":{},"maintainers":[{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.1.0-dev.2_1644690246016_0.7417517265521192"},"_hasShrinkwrap":false},"1.1.0-dev.3":{"name":"@kazi-faas/cli","version":"1.1.0-dev.3","license":"MIT","bin":{"kazi":"dist/cli.js"},"engines":{"node":">=16"},"scripts":{"build":"tsc","build:watch":"tsc --watch","start":"npm run build && dist/cli.js","pretest":"npm run build","test":"xo && ava","semantic-release":"npm run build && semantic-release"},"dependencies":{"@kubernetes/client-node":"^0.16.1","degit":"^2.8.4","got":"^11.8.3","ink":"^3.2.0","ink-table":"^3.0.0","ink-task-list":"^1.1.0","meow":"^9.0.0","pkg-install":"^1.0.0","react":"^17.0.2"},"ava":{"typescript":{"extensions":["tsx"],"rewritePaths":{"source/":"dist/"}}},"xo":{"extends":"xo-react","rules":{"react/prop-types":"off"}},"devDependencies":{"@ava/typescript":"^3.0.1","@sindresorhus/tsconfig":"^2.0.0","@types/degit":"^2.8.3","@types/react":"^17.0.37","ava":"^3.15.0","chalk":"^4.1.2","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","ink-testing-library":"^2.1.0","typescript":"^4.5.2","xo":"^0.39.1","semantic-release":"^19.0.2"},"repository":{"type":"git","url":"git+https://github.com/kazi-faas/kazi.git"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main",{"name":"dev","prerelease":true},"next"]},"publishConfig":{"access":"public"},"readme":"# kazi - your serverless function tool for Knative\n\nServerless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js functions, but hopefully include a Deno runtime in the near future (perhaps you can sponsor this feature. Check out the [sponsors pages](#)\n\n> Knative provides reduced operational overhead, auto-scaling, automatic domain and TLS provisioning. Add functions to it, you get the features of serverless functions that has become popular and loved among developers.\n\n## Features\n\n- **Standard:** The function runtime is just HTTP. It runs anywhere Node.js is supported!\n- **Lightweight:** The function has just one dependency, which weighs less than 1MB.\n- **Simple:** Designed for single purpose functions.\n- **Easy:** Super easy deployment and containerization. Local development experience is the same as any Node.js application development.\n  - For local development, environment variables are automatically read from a `.env` file.\n  - For Kubernetes deployment, environment variables from `.env` is saved in a ConfigMap and used at runtime.\n  - JSON parsing is opt-in.\n\n## Install\n\n```bash\nnpm i -g @kazi-faas/cli\n```\n\n## Pre-requisite\n\n1. Docker\n2. pack CLI\n3. Node 16.3.x (some commands may not run smoothly in versions below 16)\n\n## Getting Started\n\n> TODO: A short guide that shows the concept so users can get started on the topic in under 10 minutes.\n\n## CLI\n\n```\nCommands\n  $ kazi create: Scaffold a new project\n  $ kazi list: List the functions deployed using kazi\n  $ kazi deploy: Deploy a function (only works if you're inside the function's directory)\n\t$ kazi --help: Show help text\n\nUsage\n  $ kazi create <Function_Name>\n\nOptions\n  --registry (-r),  Your registry namespace\n\t--use-yarn, Use Yarn to install dependencies (default: false)\n\t--workspace-install, Used to install the dependencies in a workspace i.e using the workspace's node_modules(default: false).\n\nExamples\n  $ kazi create hello --registry=docker.io/pmbanugo\n```\n\n## Contributing\n\nThis repo is still a work in progress, so contributiong rules might change. But you're free to send PR, see [RELEASE doc](/RELEASE.md) for release information and [CONTRIBUTING](#) for contributiong guideline.\n","readmeFilename":"README.md","gitHead":"31e8f5771a5a84d90b5e58138ef186fbd5bf8f23","description":"Serverless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js fu","bugs":{"url":"https://github.com/kazi-faas/kazi/issues"},"homepage":"https://github.com/kazi-faas/kazi#readme","_id":"@kazi-faas/cli@1.1.0-dev.3","_nodeVersion":"16.13.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-XxwUaSXyXpArxiouIXCQHlcW7sWreswSITXCvvSX5WMsWLfSZ8m/18aBeOJi9SbzurdnkzURGcwfDQk0gAjjew==","shasum":"be928fe29a574561b7e6b5e642eb6e6b427cecc1","tarball":"https://registry.npmjs.org/@kazi-faas/cli/-/cli-1.1.0-dev.3.tgz","fileCount":23,"unpackedSize":40768,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiCADGCRA9TVsSAnZWagAAbKcP/2xDHv4aHJ71wZhyinR4\nwBlir/UMwgrPROMkYcaXYdvQkFBw93V7m9OBEkGgWVE22Z0FsqcFboHyoQa8\nn9qhLeaKNeX6sN/i0aD38DPm2/VJvNA2waA25Hl1lAr3br8X8GvcxhCfFxNU\n1PSXSRKRqeQg2mrKKIriMfJa+1TldZ9eZts9/OkrA5nQ8nRPJO3NPI8IUNgy\nCbDDSgbsVOps+jFmIvBQFg/XT7anWPFyiVlG7eMHVbKhD9P0E1K/Gp/8MMh1\nY+/kQo3H74WXhCbkILHPBwvE680noz/kRV42yd9sJQd8r3+RahzbHRs2PnH8\nuHoNdF191r/fIhaM4wD8jFFlYB8sYZMkdam10JOwzX1yFW84+aCzmA5sGiMn\ntIvGsCeWuYunQrzqMWZplL4Mu93zNB5zyvnQ9dZV///P6Ycxtj76w7n0/w33\nU57blMA3Ym3odkLVUeZbNwBEZfR1KEpzWzuSaL4p9OAjc44hXSIqArgb8cNN\nncS4kOX3O8KyKFG7PaI0JmlfMhutGFwZmy2N7d2ZnY+10G0xt6tY31ztRnet\ndfXrSCochfppJ/S2q9+IDIHjAglMLDdG+NvXtsPWZEhsHbWcXSXqJASPNPg2\nI9W1l8UVFJ2DxSUg5fyh8PE+tT3dOaV4MlOg0nJH6Ws+SHF/YSy/zHXtHZf8\nhVZ1\r\n=VwBn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwklmpWVgXls+5pPMw7RpKcvU/snLXMZVmxY6qJioE4QIhAIXBQebKU1zyRH7Fz5SUjSVKjdjOX+XyfqeLyoWsVrmV"}]},"_npmUser":{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"},"directories":{},"maintainers":[{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.1.0-dev.3_1644691654554_0.8828990042798173"},"_hasShrinkwrap":false},"1.1.0":{"name":"@kazi-faas/cli","version":"1.1.0","license":"MIT","bin":{"kazi":"dist/cli.js"},"engines":{"node":">=16"},"scripts":{"build":"tsc","build:watch":"tsc --watch","start":"npm run build && dist/cli.js","pretest":"npm run build","test":"xo && ava","semantic-release":"npm run build && semantic-release"},"dependencies":{"@kubernetes/client-node":"^0.16.1","degit":"^2.8.4","got":"^11.8.3","ink":"^3.2.0","ink-table":"^3.0.0","ink-task-list":"^1.1.0","meow":"^9.0.0","pkg-install":"^1.0.0","react":"^17.0.2"},"ava":{"typescript":{"extensions":["tsx"],"rewritePaths":{"source/":"dist/"}}},"xo":{"extends":"xo-react","rules":{"react/prop-types":"off"}},"devDependencies":{"@ava/typescript":"^3.0.1","@sindresorhus/tsconfig":"^2.0.0","@types/degit":"^2.8.3","@types/react":"^17.0.37","ava":"^3.15.0","chalk":"^4.1.2","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","ink-testing-library":"^2.1.0","typescript":"^4.5.2","xo":"^0.39.1","semantic-release":"^19.0.2"},"repository":{"type":"git","url":"git+https://github.com/kazi-faas/kazi.git"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main",{"name":"dev","prerelease":true},"next"]},"publishConfig":{"access":"public"},"gitHead":"320d1687d399fcf68b906bdd4b4fd6afb68d7b12","description":"Serverless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js fu","bugs":{"url":"https://github.com/kazi-faas/kazi/issues"},"homepage":"https://github.com/kazi-faas/kazi#readme","_id":"@kazi-faas/cli@1.1.0","_nodeVersion":"16.13.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-uCCYVO+mWXoYdd3zNL2bsyIzpqShQN6mfhLALhShRo+zOoQ3XldaK2/m1KlORDw/EKYs+0YhpzRB92SLD0mikQ==","shasum":"61167e8609c3b04897db967666dc1edb7cb56d3d","tarball":"https://registry.npmjs.org/@kazi-faas/cli/-/cli-1.1.0.tgz","fileCount":23,"unpackedSize":40763,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiCH3oCRA9TVsSAnZWagAAbbMP/ROEgxnZwUhQasBMpwW0\nfgraSl5bQSh0VFttoH54zwTk72hliyYNj2WD39KfXebS3MXeVL3c/X2lhAHh\ndk0VetKdb8ThJQrBhUusJ4ikw58CTYHIjYWByEK2qP0E1er1LR5N+6DegS2o\nDsBftMAPrjP+8qbmUX5YyxWb8J/HZx5mTbJqE3CqyG/ToAcbYtO+/h114Utq\nzjdBoikS980p2RgzKloJoRtEfMZqU9TubicY6OZybcSsJ+1CClYyaXkMG5+S\nlLL/j5GqPAfWZ0rtiFl9r4aRCthzl82FCnyt53yOgg1vFJBsPiwwzNrAibRQ\nFt5k5gQj8Q3t2U1Kk7phCbtYpwCwC1VYiK68QPgBRzCa8EckJX/Ui/zkyRfO\nwkUNA0NUHMHh9cxrU15zZsfe2yJgqIlXKpazY/7osyXd2JqGWHSh34eUXZRE\nc7FHjNlytetdC3XoIVdhUBYTT79NLJbQea5MooJiyHbVmHQcWauSzUBNGRdv\nMzhhYZ64xdpSWa+vRN4ar75QDExoC1TJWXfuOU7FtN8tDuW8A1RL34Cj9aHv\ncxhAfc7koEkW8CpR0ZpBy0ngFxHz4Wz87ThtLzyiJNdDzrlBW45ODt5NrBqX\naMxEShazAe2Nk7fIy4LlupKUlDaC1eMGVCEGI6cXkCE2N8orexCy4kIoXYNQ\nzvsW\r\n=SVhP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCb1gThWIsAWZSg4JGDXMFxYvER7Ue8gCT0K2s7hKMkTAIhAJGBysAs/yWH9wMfm9ENP3pIs5FNcOjJVSf79y94sGja"}]},"_npmUser":{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"},"directories":{},"maintainers":[{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.1.0_1644723688746_0.4304366264082342"},"_hasShrinkwrap":false},"1.2.0":{"name":"@kazi-faas/cli","version":"1.2.0","license":"MIT","bin":{"kazi":"dist/cli.js"},"engines":{"node":">=16"},"scripts":{"build":"tsc","build:watch":"tsc --watch","start":"npm run build && dist/cli.js","pretest":"npm run build","test":"xo && ava","semantic-release":"npm run build && semantic-release"},"dependencies":{"@kubernetes/client-node":"^0.16.1","degit":"^2.8.4","got":"^11.8.3","ink":"^3.2.0","ink-table":"^3.0.0","ink-task-list":"^1.1.0","meow":"^9.0.0","pkg-install":"^1.0.0","react":"^17.0.2"},"ava":{"typescript":{"extensions":["tsx"],"rewritePaths":{"source/":"dist/"}}},"xo":{"extends":"xo-react","rules":{"react/prop-types":"off"}},"devDependencies":{"@ava/typescript":"^3.0.1","@sindresorhus/tsconfig":"^2.0.0","@types/degit":"^2.8.3","@types/react":"^17.0.37","ava":"^3.15.0","chalk":"^4.1.2","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","ink-testing-library":"^2.1.0","typescript":"^4.5.2","xo":"^0.39.1","semantic-release":"^19.0.2"},"repository":{"type":"git","url":"git+https://github.com/kazi-faas/kazi.git"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main",{"name":"dev","prerelease":true},"next"]},"publishConfig":{"access":"public"},"gitHead":"7f519a380cf347a5ba8b6ea4e84fb21f91ad5eee","description":"Serverless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js fu","bugs":{"url":"https://github.com/kazi-faas/kazi/issues"},"homepage":"https://github.com/kazi-faas/kazi#readme","_id":"@kazi-faas/cli@1.2.0","_nodeVersion":"16.13.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-3x1GYjyZcjt+D4V38OdP8Qu6G8dkCs1TilZFxhvyU7lrH1mmXa/qMdxsyoktwc4s+1N9K0+G9vEwcLCoBYEC0g==","shasum":"9c7e47d4af7ca78a202373bd890a89589bc346c0","tarball":"https://registry.npmjs.org/@kazi-faas/cli/-/cli-1.2.0.tgz","fileCount":23,"unpackedSize":40942,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiCjv6CRA9TVsSAnZWagAAW9cP/364/aFGgAcyn/nJ37/C\nzxZJ9m4yxr/omqWM4Z+mHDZYPHSk+HNRPzpeiGYvMHPXaNWEQz6ItZYRACeE\nUynI65t71gjbiCdBKXM5eh+moH+pHum7MyRazM1fklPCq7+DipD1TPgBpovd\n+6BvTTneL8obyPWIUHB2FjGqCvBwZ81NoSn7o6IfdlnI58t/yLRujL5yzIlK\npdU06JAbp5UqagbF85BpVhd5EqmX9vu1chaEXZoGsx8+JCQUWcvOOFbEAhwC\nC/kW2DLRgUMkOzPVKuVyzcNC3lbJK7xWTVE8GgNZKkFWLqZ88U7+3Xjb1vlB\n49+McgZTvS2/YUrnmxNmyhWcx5sC1HSWRh/a6j1RNrP9xyEBIAoVzowqRB6B\ndr0wWNIdcSOENhrqvZPQjw8efgQsIA5+8EmHKauauATUq1PnuAe7A/bYnq6/\nDS04FiG3sy/ZtjrmfC5WKJ5a2g7/dGZo+zkJEppTRKfrM9o3rmKIEfux7oRL\n+rZQ6Nsmvtaj5MfruaWr7o8AQEifZKZ+rq8MSPQiVmEsdOu2cWZBdKTLeD5/\nidkpcFpZoQ9soIpN3FqgNDy7TFs/dNxOtgPwdHe6LzMohH5UEagDWB4LGArw\nPeOL+eRqn87uD983NsTkJRteSVAHj6FAHuwq0+TKllgAnH5KXQe5El3FyyiM\nBrvB\r\n=SYlJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGKgF6STSUR5Tau1DHT9Q8wKwqymNbBvVZuSL5y6oDC/AiEAs9+mhD8f0cpYx9h39iHs2VOKKMNqr+cwmOJU/0RAJOw="}]},"_npmUser":{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"},"directories":{},"maintainers":[{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.2.0_1644837882687_0.3849924727686529"},"_hasShrinkwrap":false},"1.2.1-dev.1":{"name":"@kazi-faas/cli","version":"1.2.1-dev.1","license":"MIT","bin":{"kazi":"dist/cli.js"},"engines":{"node":">=16"},"scripts":{"build":"tsc","build:watch":"tsc --watch","start":"npm run build && dist/cli.js","pretest":"npm run build","test":"xo && ava","semantic-release":"npm run build && semantic-release"},"dependencies":{"@kubernetes/client-node":"^0.16.1","degit":"^2.8.4","got":"^11.8.3","ink":"^3.2.0","ink-table":"^3.0.0","ink-task-list":"^1.1.0","meow":"^9.0.0","pkg-install":"^1.0.0","react":"^17.0.2"},"ava":{"typescript":{"extensions":["tsx"],"rewritePaths":{"source/":"dist/"}}},"xo":{"extends":"xo-react","rules":{"react/prop-types":"off"}},"devDependencies":{"@ava/typescript":"^3.0.1","@sindresorhus/tsconfig":"^2.0.0","@types/degit":"^2.8.3","@types/react":"^17.0.37","ava":"^3.15.0","chalk":"^4.1.2","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","ink-testing-library":"^2.1.0","typescript":"^4.5.2","xo":"^0.39.1","semantic-release":"^19.0.2"},"repository":{"type":"git","url":"git+https://github.com/kazi-faas/kazi.git"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main",{"name":"dev","prerelease":true},"next"]},"publishConfig":{"access":"public"},"readme":"# kazi - your serverless function tool for Knative\n\nServerless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js functions, but hopefully include a Deno runtime in the near future (perhaps you can sponsor this feature. Check out the [sponsors pages](#)\n\n> Knative provides reduced operational overhead, auto-scaling, automatic domain and TLS provisioning. Add functions to it, you get the features of serverless functions that has become popular and loved among developers.\n\n## Features\n\n- **Standard:** The function runtime is just HTTP. It runs anywhere Node.js is supported!\n- **Lightweight:** The function has just one dependency, which weighs less than 1MB.\n- **Simple:** Designed for single purpose functions.\n- **Easy:** Super easy deployment and containerization. Local development experience is the same as any Node.js application development.\n  - For local development, environment variables are automatically read from a `.env` file.\n  - For Kubernetes deployment, environment variables from `.env` is saved in a ConfigMap and used at runtime.\n  - JSON parsing is opt-in.\n\n## Install\n\n```bash\nnpm i -g @kazi-faas/cli\n```\n\n## Pre-requisite\n\n1. Docker\n2. pack CLI\n3. Node 16.3.x (some commands may not run smoothly in versions below 16)\n\n## Getting Started\n\n> TODO: A short guide that shows the concept so users can get started on the topic in under 10 minutes.\n\n## CLI\n\n```\nCommands\n  $ kazi create: Scaffold a new project\n  $ kazi list: List the functions deployed using kazi\n  $ kazi deploy: Deploy a function (only works if you're inside the function's directory)\n  $ kazi --help: Show help text\n\nUsage\n  $ kazi create <Function_Name>\n\nOptions\n  --registry (-r),  Your registry namespace\n  --use-yarn, Use Yarn to install dependencies (default: false)\n  --workspace-install, Used to install the dependencies in a workspace i.e using the workspace's node_modules(default: false).\n\nExamples\n  $ kazi create hello --registry=docker.io/pmbanugo\n```\n\n## Tutorials\n\n- [From AWS Lambda & API Gateway To Knative & Kong API Gateway](https://www.pmbanugo.me/blog/2022-02-13-from-aws-lambda-api-gateway-to-knative-kong-api-gateway/)\n\n## Contributing\n\nThis repo is still a work in progress, so contributiong rules might change. But you're free to send PR, see [RELEASE doc](/RELEASE.md) for release information and [CONTRIBUTING](#) for contributiong guideline.\n","readmeFilename":"README.md","gitHead":"acc8a628a65d0f9c78b25808527241cbb682dbfc","description":"Serverless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js fu","bugs":{"url":"https://github.com/kazi-faas/kazi/issues"},"homepage":"https://github.com/kazi-faas/kazi#readme","_id":"@kazi-faas/cli@1.2.1-dev.1","_nodeVersion":"16.13.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-iYKDiNiltV3uUZ8QZF1q7RtUbi8hkHYBeAOH+ka4eRQbosiK8Rl7ey7hdbjaQG6b7sSVw+KusI7hhy5eEeBtlw==","shasum":"8da2e859607a4b0cd3b1795dc2d32994f6ebc4d0","tarball":"https://registry.npmjs.org/@kazi-faas/cli/-/cli-1.2.1-dev.1.tgz","fileCount":23,"unpackedSize":40976,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDAW1CRA9TVsSAnZWagAAAcIP/3ErI2G0Cq83scEq9UYe\nbxlp7j0By31Ts+EveOEWwBKWy+eiu5+QX0JtOxrmahhooteOD6OeEYDlSeBy\nHN0nwZWRjWReoZkxGT5CJtY0x60vUuKd4M2GRcpOkK0gMwJ3yqVBR6vFqB+S\nTsvLzRgE3SFkTxRTDyfJgfADPK/fOK1EKLrpTNhpN5G+UuAxh2b2fAb7ml9F\nhIX65Bg4CY0lKZ/L6ck4s1KfgBImic9HR4QYYfAO4wuKRaDGtlxxu+enZtmW\nWNlwQQoSFmu51sf2cTtuh48IaGQ4nQIOGLJF/q81Ad9jW6A88tG13hH6fXIZ\n+9YQd8iU8bGb65yAtcU5BJKSuszhxT/56n44Un24ALI8PusGvM927wABPITL\nTveXC5IrrvHCPZu8cpyzdQy1MJ0IGG67Pb5uHqT6BZ/GV/MLyt/8fYDEPha4\n9qff/Bgp0cao1d/uTIK+EY+R4wijVCx9b0G3UlIMFV/y+JfxQveoII4vRDQ4\nsvuM/d8t9wXVoYhiuVPIl7KqiRTrDfcZ8+sd0vfYxKxqDTrZj/8UGsVeautJ\nmzgw/rNey2dTQ+IFipyTBn1W8TZ3kvnUFNylU8n3sGKkr4F5zguPXbKgL7Lp\nwVRmu2u7J2XIOgsZe7v9urJXapxet/t1r0d4esslKPkCba1bCMn9mWKmSd+b\nC6qH\r\n=SLY3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBNy57zqXOEjYWm+cndmEd9w1ONKoUrSk9qem88Kwgm5AiAunhXozZdaZPI45unl3Vhw/vik9nHj+m9aQxYmOLr+2Q=="}]},"_npmUser":{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"},"directories":{},"maintainers":[{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.2.1-dev.1_1644955060901_0.5083268075811029"},"_hasShrinkwrap":false},"1.2.1":{"name":"@kazi-faas/cli","version":"1.2.1","license":"MIT","bin":{"kazi":"dist/cli.js"},"engines":{"node":">=16"},"scripts":{"build":"tsc","build:watch":"tsc --watch","start":"npm run build && dist/cli.js","pretest":"npm run build","test":"xo && ava","semantic-release":"npm run build && semantic-release"},"dependencies":{"@kubernetes/client-node":"^0.16.1","degit":"^2.8.4","got":"^11.8.3","ink":"^3.2.0","ink-table":"^3.0.0","ink-task-list":"^1.1.0","meow":"^9.0.0","pkg-install":"^1.0.0","react":"^17.0.2"},"ava":{"typescript":{"extensions":["tsx"],"rewritePaths":{"source/":"dist/"}}},"xo":{"extends":"xo-react","rules":{"react/prop-types":"off"}},"devDependencies":{"@ava/typescript":"^3.0.1","@sindresorhus/tsconfig":"^2.0.0","@types/degit":"^2.8.3","@types/react":"^17.0.37","ava":"^3.15.0","chalk":"^4.1.2","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","ink-testing-library":"^2.1.0","typescript":"^4.5.2","xo":"^0.39.1","semantic-release":"^19.0.2"},"repository":{"type":"git","url":"git+https://github.com/kazi-faas/kazi.git"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main",{"name":"dev","prerelease":true},"next"]},"publishConfig":{"access":"public"},"gitHead":"532b4a96c80cb08e2e5293b87f4c133d2f899e4e","description":"Serverless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js fu","bugs":{"url":"https://github.com/kazi-faas/kazi/issues"},"homepage":"https://github.com/kazi-faas/kazi#readme","_id":"@kazi-faas/cli@1.2.1","_nodeVersion":"16.14.0","_npmVersion":"8.5.0","dist":{"integrity":"sha512-2q89y/qIhuDZA8+IE1XWM1Q9y4mtzzoo2hkY5gW0agAkpCUUdEONlSPhM1snW8nZiAkXfHgyh/yQIkvovze8QA==","shasum":"3fe51e9bdbc50499da65c2776057f72a098dfbec","tarball":"https://registry.npmjs.org/@kazi-faas/cli/-/cli-1.2.1.tgz","fileCount":23,"unpackedSize":43230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiDp9PACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpdTQ//QSl/GJW1UcvWkxVXK3bCj5sLdm6vhqMmn7/RRxB+6/dUcHSu\r\nf91iR05sNE+jFjSRZnEYI7QWC3DvctyEC0GKFJM8nQzIIiDyvEhK3o+6efIz\r\nLmi5bu1dRG+bGqLwB0bpqvL8nTHgyY0bPzyfYMpUEKH5gkyg7wDICEGcXrKm\r\np4E0OwBj45lFpc44vViH0Aq8BHMrzyBgq/DtAF5tTDaGJJjo9+jsYiz3TgA8\r\nPulUxWdrbD7MHubwGZdH++iKk87kx62NvH+7928Ic09bn+CY7I/uC6ocSxrc\r\n7j4VPDFXN0NjxXavpDpOhoEMe7klBJs5xPlf2i3JTzipuWrPOunUdmjxfv6g\r\ncyL4/EbI8aE/aMz0cUJ5PbHHnsGWKw7JVjd5Ps+4dg72oQWfAZtMaLkza0aX\r\nT7VeDO3x5+GfEyJAfUJMOsjW6gPkOUAGExna4oAEQNogk+l/O4i5RuWXxhP/\r\n+/RmrQYRK9wYhDF2/79diFMo1n1wn6937H1ajoLBThyWKzC8j5EyGzz0WFIo\r\nHkaRUJcvz5BXa0VWllZNNL/VE/9w5PUOWD5nNDxbVtcAyq8DZEfhjp858lUJ\r\nFdcFI0hVTJj2k0l/l2o95dicgAt4deTY5uVjD3nzYRqotpCtf1aMJgXVOzMK\r\n7B5zycFlRtEN2rgj77KIA995BucNKZQJEEQ=\r\n=39Kc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEJxRvrI0IJXIoZHWBX3ZRsMCKwsFjiJgwmG1VpPkblsAiBuNEmAwydlO6yG2O05TqZ0fsUi4r9ef2usqaiTNyqN9Q=="}]},"_npmUser":{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"},"directories":{},"maintainers":[{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.2.1_1645125455422_0.6070305608336364"},"_hasShrinkwrap":false},"1.3.0-dev.3":{"name":"@kazi-faas/cli","version":"1.3.0-dev.3","license":"MIT","bin":{"kazi":"dist/cli.js"},"engines":{"node":">=16"},"scripts":{"build":"tsc","build:watch":"tsc --watch","start":"npm run build && dist/cli.js","pretest":"npm run build","test":"xo && ava","semantic-release":"npm run build && semantic-release"},"dependencies":{"@kubernetes/client-node":"^0.16.1","degit":"^2.8.4","got":"^11.8.3","ink":"^3.2.0","ink-table":"^3.0.0","ink-task-list":"^1.1.0","meow":"^9.0.0","pkg-install":"^1.0.0","react":"^17.0.2"},"ava":{"typescript":{"extensions":["tsx"],"rewritePaths":{"source/":"dist/"}}},"xo":{"extends":"xo-react","rules":{"react/prop-types":"off"}},"devDependencies":{"@ava/typescript":"^3.0.1","@sindresorhus/tsconfig":"^2.0.0","@types/degit":"^2.8.3","@types/react":"^17.0.37","ava":"^3.15.0","chalk":"^4.1.2","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","ink-testing-library":"^2.1.0","typescript":"^4.5.2","xo":"^0.39.1","semantic-release":"^19.0.2"},"repository":{"type":"git","url":"git+https://github.com/kazi-faas/kazi.git"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main",{"name":"dev","prerelease":true},"next"]},"publishConfig":{"access":"public"},"gitHead":"fab990af764bd7efb660150eb51852b4f1dfdc43","description":"Serverless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js fu","bugs":{"url":"https://github.com/kazi-faas/kazi/issues"},"homepage":"https://github.com/kazi-faas/kazi#readme","_id":"@kazi-faas/cli@1.3.0-dev.3","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-BRltF7aBss2hiNhr3vKrXV6HNrfyU/TRVKmJ04gjbe6LWCAm62fC3duSQUuS8nEaFLZZNh6in9/jYiBhhr41Qw==","shasum":"4b03e4eeb57b06b068a23330c7f54c2768631bb2","tarball":"https://registry.npmjs.org/@kazi-faas/cli/-/cli-1.3.0-dev.3.tgz","fileCount":27,"unpackedSize":49238,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJoNpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmovmA//QAIPf6Zysv/6iy8eVETxW87Vtkaj9iwjs7trAI3lKpWmfV/H\r\nSB7xcM90aF6neEW/C1VuFxifySdNcvYfpFEcm52fBAAFRWHoO5jUaLmIyL5q\r\nfrRipgUpcF2sZQsk/gugVzYXxK8VcUudNEm1qWWJBSYfcfQeWBFi5/TV7dkU\r\nJMyPhhlbzCW3FC3tgqa3taIb+vPJclG5FTvL9wqv8Voo5LIpwZXYnhxJ8x6K\r\nEYanQulHqPJLnxfVjNVmm0RXW4cSyluNPFBvV0jQUrfjCaNDZG3299Sxe1w7\r\nNOZj771W6NeJbyoHCDzQg50A7/YObxhH6eDYX0RynJz+xhbzXaTQpK6Ut0e5\r\n1+fvpBLzZY8RF7FRpT6qlYcBQZbibuxE/Y866anIRWlhEc7M80Giw61OBJu4\r\n+lEnOtgn6M0e8pyDRl5wR+TtQN7dw8f/plq+cS34eYZ+hryySlzqwEDh69P0\r\nuvmsH38pZ8mdEUFLTmEhhKhQ3ewkx72pUzTUTKXJ05Fe2OyoQV4bfXWCemZe\r\nVq1vhDZBKg+IceiEyNDXdF5USW141kdSNjS284EAz0XFleVENEa9qFJSe/D6\r\ngMmq7Tk4hvNhRvdgLWodRuZUaFJG0aE7mgyVcho9cviSwnDf4HcBmLYTClhL\r\nerqZqXs2QZDTkDOY8mzJjeM/yzZyHOQScU8=\r\n=Ymj6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/N+Q0kRsiER+05LPojAr4JgOhLlbnL73819qzw/qyQQIgMlj5CgcW5896CFXyKSsuctyGKa5pvsSvp03n3CDVKrc="}]},"_npmUser":{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"},"directories":{},"maintainers":[{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.3.0-dev.3_1646691176968_0.30031160106835353"},"_hasShrinkwrap":false},"1.4.0-dev.1":{"name":"@kazi-faas/cli","version":"1.4.0-dev.1","license":"MIT","bin":{"kazi":"dist/cli.js"},"engines":{"node":">=16"},"scripts":{"build":"tsc","build:watch":"tsc --watch","start":"npm run build && dist/cli.js","pretest":"npm run build","test":"xo && ava","semantic-release":"npm run build && semantic-release"},"dependencies":{"@kubernetes/client-node":"^0.16.1","degit":"^2.8.4","got":"^11.8.3","ink":"^3.2.0","ink-table":"^3.0.0","ink-task-list":"^1.1.0","meow":"^9.0.0","pkg-install":"^1.0.0","react":"^17.0.2"},"ava":{"typescript":{"extensions":["tsx"],"rewritePaths":{"source/":"dist/"}}},"xo":{"extends":"xo-react","rules":{"react/prop-types":"off"}},"devDependencies":{"@ava/typescript":"^3.0.1","@sindresorhus/tsconfig":"^2.0.0","@types/degit":"^2.8.3","@types/react":"^17.0.37","ava":"^3.15.0","chalk":"^4.1.2","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","ink-testing-library":"^2.1.0","typescript":"^4.5.2","xo":"^0.39.1","semantic-release":"^19.0.2"},"repository":{"type":"git","url":"git+https://github.com/kazi-faas/kazi.git"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main",{"name":"dev","prerelease":true},"next"]},"publishConfig":{"access":"public"},"gitHead":"fab990af764bd7efb660150eb51852b4f1dfdc43","description":"Serverless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js fu","bugs":{"url":"https://github.com/kazi-faas/kazi/issues"},"homepage":"https://github.com/kazi-faas/kazi#readme","_id":"@kazi-faas/cli@1.4.0-dev.1","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-9LmhMVbctgqHRTh03tb8SvCCxTf3B04BZ0WeXBlFpXDi2hLzj6fYJ9aTboY7fpOhZwOiZQUdx9tIm0PaXNby6A==","shasum":"320654f6c5a0d44147f0e5ab5f91fd60d79864da","tarball":"https://registry.npmjs.org/@kazi-faas/cli/-/cli-1.4.0-dev.1.tgz","fileCount":27,"unpackedSize":49238,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJoOHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr6gg/9FVZa59lbOjNR/siq2RU+0yXDmYdnPSVlnq8TfrjJDjsLe2zf\r\nTlegv8z0WN34GCEbBtYe+IBzS2nEx4ivtxySPyjNn2EtcyQ+UisaY0+21Gm+\r\nc4eZjkEdKpkr7LOvTddhG8T13O8CWF1sywuJMPs4Q1KrFoCwOxYKnO1eXyZJ\r\nMj78N0BuhG+LnbVLk95C0R8WBGaptakPYCofM58z9nzuWnxn1ZcJeAvpDlur\r\nYJeSuxrs2SrY9wG7AhQcEjACnDISCRJlhpceL/sYcYIBDZkhVJdUbBNDetCY\r\nr6cL8G1LFtrq1RJqRQADPIQMMRnSKXo69GZ5aCdo+IiNq6I3Rmy88G3447JW\r\nR1Ue2rLin54LRaWKrwyuFRhVwF1i3nyfFfNeZFoMsZ3uUEmLjFLiHHP0hwCf\r\nW1kddMKsjpAhP078htX77SZ9suQdj7ZJEv5CTI0xbSiHyyMnKAghVEXivgZK\r\nAKcqn2aoGe/3UsXPwg9QK9pbky8ArDef6fZ63ASJVcy0OqSS4zvzGxRAOrMV\r\nqGn2flf4VsRdl4pGGrQ4X9+zKGuzvbnuEHrpLNaJSZBHl2VhaIGKC722PVd7\r\naANRof+SbBdyTVtTH9UkckzG3WRSRLbUq/MKTMsvPbzM6KqcaSPUD1yLU3NS\r\nCOG4swTyhNK8ye07zIr5w+x2n2Q31Tcm0tU=\r\n=e+Ox\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQnqSXxpDxYMCm7l19gd1/AaIeCNxA1NMYJZTaPNjyugIgEI7KTLC+MOVYtTwjDwHC0I4XV/Xv2QGFnk5R8kHWMbo="}]},"_npmUser":{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"},"directories":{},"maintainers":[{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.4.0-dev.1_1646691207219_0.8701248629410225"},"_hasShrinkwrap":false},"1.4.0":{"name":"@kazi-faas/cli","version":"1.4.0","license":"MIT","bin":{"kazi":"dist/cli.js"},"engines":{"node":">=16"},"scripts":{"build":"tsc","build:watch":"tsc --watch","start":"npm run build && dist/cli.js","pretest":"npm run build","test":"xo && ava","semantic-release":"npm run build && semantic-release"},"dependencies":{"@kubernetes/client-node":"^0.16.1","degit":"^2.8.4","got":"^11.8.3","ink":"^3.2.0","ink-table":"^3.0.0","ink-task-list":"^1.1.0","meow":"^9.0.0","pkg-install":"^1.0.0","react":"^17.0.2"},"ava":{"typescript":{"extensions":["tsx"],"rewritePaths":{"source/":"dist/"}}},"xo":{"extends":"xo-react","rules":{"react/prop-types":"off"}},"devDependencies":{"@ava/typescript":"^3.0.1","@sindresorhus/tsconfig":"^2.0.0","@types/degit":"^2.8.3","@types/react":"^17.0.37","ava":"^3.15.0","chalk":"^4.1.2","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","ink-testing-library":"^2.1.0","typescript":"^4.5.2","xo":"^0.39.1","semantic-release":"^19.0.2"},"repository":{"type":"git","url":"git+https://github.com/kazi-faas/kazi.git"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main",{"name":"dev","prerelease":true},"next"]},"publishConfig":{"access":"public"},"gitHead":"fab990af764bd7efb660150eb51852b4f1dfdc43","description":"Serverless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js fu","bugs":{"url":"https://github.com/kazi-faas/kazi/issues"},"homepage":"https://github.com/kazi-faas/kazi#readme","_id":"@kazi-faas/cli@1.4.0","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-xKlIHC29r2PRJXbWNXCLku1gABsKwNIHHBgS8AGrLgcFPlAh/dhYKmkLnC7SlMgnqCLVAvLNbMpYa1hcLTpmUg==","shasum":"73972718ad10cb93eced86d5fa138bf7f696d9f6","tarball":"https://registry.npmjs.org/@kazi-faas/cli/-/cli-1.4.0.tgz","fileCount":27,"unpackedSize":49232,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJoOkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq4iA/9Fht4DpsRmkrDQEYz09jrG0AQZvX81+3AiRqVZ4h3ND0d8GNj\r\ngR7KbIv1L/RO9hLOdru/1+98o+Esx3AJc7HmBzkWlN2OlkSSx4Key4KVRKad\r\nJJfXxtc9VixVxnq2TWtJvM8bU3SJim2S19tV8vIMtATLVZbxzJeamgdoS0gB\r\njfE56pZmghz21bjIxoPpjU5BvVf6rfs33ROfiiht5TYflKQQvTGQgT0thfK2\r\n+Drc7+TPPhuzQf2beNhvfwCC8mPPNrDH5pZBQ84aRLX6H907Gn2FzlTAp8iL\r\naZuIvabhF9ar/tt/GWCg8/dflb9ntfpxRUwHZV8OjZd/H2P7ORDp7cEmFw8D\r\nGZYKkIUNMz8+B/0HKo4b2fNTaFiMnvIJ8p3Cc2cjI8JqOaX6Qj4FffTc3WSD\r\nWdWlP1bPblzxU2XQ6NjmRLLTOCmnUqzwe9phny9zclOde2nhDASlnfR4ayp+\r\nNFf5Rj5ZPBLlzwEwkPFcqMsIBR3XGiugi+cta3LPH4QoICA+qWhi2wWmXOdW\r\n4BmXrs8A2NXFVx3gORGUtMlCt/WVdqhRAEjCwbgsCcchnzN9pM4agbEBqULW\r\nq6kx/zvql08FGAr7rFF5/VAlbm5GIcqmIJbxidhCdcSOOJI+9tEosddANrGR\r\n0v7j1ygSpP27RsSzQ4h7/TleFIjtqQjuiBs=\r\n=x4QK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBQUTJpVN01C/io6sVrOGCj4g/ivrckSyV84f1QVg2VTAiEA8AS+2fU8MIH7/2MqZOEIdM/Uj88rOn6Ao7qVwXKP1GQ="}]},"_npmUser":{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"},"directories":{},"maintainers":[{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.4.0_1646691236195_0.4461334789329561"},"_hasShrinkwrap":false},"1.5.0":{"name":"@kazi-faas/cli","version":"1.5.0","license":"MIT","bin":{"kazi":"dist/cli.js"},"engines":{"node":">=16"},"scripts":{"build":"tsc","build:watch":"tsc --watch","start":"npm run build && dist/cli.js","pretest":"npm run build","test":"xo && ava","semantic-release":"npm run build && semantic-release"},"dependencies":{"@kubernetes/client-node":"^0.16.1","degit":"^2.8.4","got":"^11.8.3","ink":"^3.2.0","ink-table":"^3.0.0","ink-task-list":"^1.1.0","meow":"^9.0.0","pkg-install":"^1.0.0","react":"^17.0.2"},"ava":{"typescript":{"extensions":["tsx"],"rewritePaths":{"source/":"dist/"}}},"xo":{"extends":"xo-react","rules":{"react/prop-types":"off"}},"devDependencies":{"@ava/typescript":"^3.0.1","@sindresorhus/tsconfig":"^2.0.0","@types/degit":"^2.8.3","@types/react":"^17.0.37","ava":"^3.15.0","chalk":"^4.1.2","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","ink-testing-library":"^2.1.0","typescript":"^4.5.2","xo":"^0.39.1","semantic-release":"^19.0.2"},"repository":{"type":"git","url":"git+https://github.com/kazi-faas/kazi.git"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main",{"name":"dev","prerelease":true},"next"]},"publishConfig":{"access":"public"},"gitHead":"002f5ded81fd3af216cd2deb67b4a1799f008990","description":"Serverless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js fu","bugs":{"url":"https://github.com/kazi-faas/kazi/issues"},"homepage":"https://github.com/kazi-faas/kazi#readme","_id":"@kazi-faas/cli@1.5.0","_nodeVersion":"16.14.0","_npmVersion":"8.5.3","dist":{"integrity":"sha512-P115iu7pCE7sOzGxf4WHrgeu/RNh1cLnpTak3Un2mEZdu3gQe2cY8BDnK8zrZFPmT668aSZ2l15XOiv5+CKO6g==","shasum":"471e647314750bcda7897f5a6572362826e19a07","tarball":"https://registry.npmjs.org/@kazi-faas/cli/-/cli-1.5.0.tgz","fileCount":23,"unpackedSize":45842,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJoXUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmooKhAAgsXVK6Pfz72g6AeVMEAFMgDh/U8PYcUVYMmZ6dbmvqr/ljPP\r\nJfpqJorALETdkK13Qa+BLmw/e5nNYn7+wqqzM3OsDSabnmOV/UJMpop5fICH\r\n51qH/zR3yyIO5bSaEpifGbC77sGbNn414PYlHJVITPMtaVQrmJPDnQOtH4cU\r\nHARrba0njqI87Xg2FDC3HrwbwEslq2JWrfcHI/B54GU79Oid7o6H4NTXP4qB\r\nZMnK99J3Gepa6AgAuB7VAMa+1Kid/ivM/yVSvaA+uQPaduH8vYDqmjKqVYB6\r\n+K4iLHomTFaOWFk2EFFqveZ2cMfeql7xr5kMXQiJ+JXKsueKOwbHCLz8hbdk\r\nShtcHqxBZD71Wi1ja39B3hfl7HO87jRSlXwUmpGeCqUnsbvbNimn351pN/m8\r\nhjG2b+X2TXD4LwieZ2mtewKHUnLPlcDLQR+xNWaErdtJjEYPbG4N2yn7KsDk\r\nToMVobEd1zZHEupcvU84wMQbbliir2Kk2T26tyNtULzPeC6T9n/vO5ktGJii\r\n0FfhWgihBl/ShIeaygX6pn2sJWOtL0B9j3I35Gy6DQRzJ/Rd5dlV+qoAervX\r\nFEG9e3FNp1tiDKOG5hB8RywRnCFLF4Ybrn+50L+Hf8qPtR2v+elP/wuL6t2D\r\nhpp68cPXoOgKWUuAK/B5trkBXmkUknKgpVY=\r\n=prrL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFg4NIbkN/BMrQhRM4IKXrET5qCVagN19GUWJZtroIFyAiEAw35WG8dFu5luOU48cLsXibHvn0xPfQcML9X5aIvJTZA="}]},"_npmUser":{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"},"directories":{},"maintainers":[{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.5.0_1646691796661_0.42156385741815816"},"_hasShrinkwrap":false},"1.6.0-dev.1":{"name":"@kazi-faas/cli","version":"1.6.0-dev.1","license":"MIT","bin":{"kazi":"dist/cli.js"},"engines":{"node":">=16"},"scripts":{"build":"tsc","build:watch":"tsc --watch","start":"npm run build && dist/cli.js","pretest":"npm run build","test":"xo && ava","semantic-release":"npm run build && semantic-release"},"dependencies":{"@kubernetes/client-node":"^0.16.3","degit":"^2.8.4","got":"^11.8.3","ink":"^3.2.0","ink-table":"^3.0.0","ink-task-list":"^1.1.0","meow":"^9.0.0","pkg-install":"^1.0.0","react":"^17.0.2"},"ava":{"typescript":{"extensions":["tsx"],"rewritePaths":{"source/":"dist/"}}},"xo":{"extends":"xo-react","rules":{"react/prop-types":"off"}},"devDependencies":{"@ava/typescript":"^3.0.1","@sindresorhus/tsconfig":"^2.0.0","@types/degit":"^2.8.3","@types/react":"^17.0.37","ava":"^3.15.0","chalk":"^4.1.2","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","ink-testing-library":"^2.1.0","semantic-release":"^19.0.2","typescript":"^4.5.2","xo":"^0.39.1"},"repository":{"type":"git","url":"git+https://github.com/kazi-faas/kazi.git"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main",{"name":"dev","prerelease":true},"next"]},"publishConfig":{"access":"public"},"readme":"# kazi - your serverless function tool for Knative\n\nServerless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js functions, but hopefully include a Deno runtime in the near future (perhaps you can sponsor this feature. Check out the [sponsors pages](#)\n\n> Knative provides reduced operational overhead, auto-scaling, automatic domain and TLS provisioning. Add functions to it, you get the features of serverless functions that has become popular and loved among developers.\n\n## Features\n\n- **Standard:** The function runtime is just HTTP. It runs anywhere Node.js is supported!\n- **Lightweight:** The function has just one dependency, which weighs less than 1MB.\n- **Simple:** Designed for single purpose functions.\n- **Easy:** Super easy deployment and containerization. Local development experience is the same as any Node.js application development.\n- **JSON Parsing:** JSON parsing is opt-in.\n- For local development, environment variables are automatically read from a `.env` file.\n- For Kubernetes deployment, environment variables in `.env` is saved in a ConfigMap and used at runtime.\n\n## Install The CLI\n\n```bash\nnpm i -g @kazi-faas/cli\n```\n\n## Pre-requisite\n\n1. Docker\n2. pack CLI\n3. Node 16.3.x (some commands may not run smoothly in versions below 16)\n4. Kubectl (kazi uses the current context for authentication)\n\n## Getting Started\n\nThis section will show you how quick it is to create and deploy a basic function that returns a JSON string value. The first thing to do is to install the CLI using the command `npm i -g @kazi-faas/cli`. After that's done, the CLI should be accessible with the `kazi` command. When you run `kazi` in the terminal without any commands or flags, it will print out the help text with a list of possible commands.\n\nWith the CLI installed, create a new function using the command below:\n\n```bash\nkazi create hello --registry=YOUR_REGISTRY_NAMESPACE\n```\n\n> Replace `YOUR_REGISTRY_NAMESPACE` with the URL to your container registry. For example, docker.io/pmbanugo.\n\nA new Node project will be created in a directory called **hello**. In this directory, you have the following files.\n\n```\nconfig.json\nindex.js\npackage.json\n```\n\nThe **config.json** file contains the configuration used to build and deploy the function. The **index.js** file is the entry point into the application. It exports a function that returns a string.\n\n```javascript\nmodule.exports = (req, res) => \"Welcome to Kazi\";\n```\n\nWhen the function runs, it'll return a 200 status code with the JSON string `Welcome to Kazi`.\n\nNow, open your terminal and deploy the function by running the command `kazi deploy` from the project's path. This will build the project, push it to your container registry, and then deploy it to Knative. If it successfully deploys to Knative, you will see a success message and a URL to access to function.\n\n![kazi deploy](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/va7fe3fd7vp1waegp1qy.png)\n\nNow open the URL in a browser and you should see `Welcome to Kazi` displayed as a response. That's how quick it takes to create and deploy a function.\n\n### Function Configuration\n\nThere's not so much you can customise for the project at the moment. The _config.json_ file only stores the name for the function and the container registry.\n\nThe function API is based on [micro](https://github.com/vercel/micro). You can check the documentation for how to [read the request body](https://github.com/vercel/micro#body-parsing), or the available [APIs](https://github.com/vercel/micro#api). There will be more extensions custom to kazi in the future, so keep an eye for that 😉.\n\n## Environment Variables\n\nThe function can read environment variables from a **.env**. The values are automatically loaded when running locally (using `npm run dev`), and are automatically uploaded to your Kubernetes cluster as a ConfigMap object, which is then loaded when the container starts. Therefore, you need not do any magic to get environment variable working locally or in the cluster.\n\n## Tutorials\n\n- [From AWS Lambda & API Gateway To Knative & Kong API Gateway](https://www.pmbanugo.me/blog/2022-02-13-from-aws-lambda-api-gateway-to-knative-kong-api-gateway/)\n\n## CLI\n\n```\nCommands\n  $ kazi create: Scaffold a new project\n  $ kazi list: List the functions deployed using kazi\n  $ kazi deploy: Deploy a function (only works if you're inside the function's directory)\n  $ kazi --help: Show help text\n\nUsage\n  Command: kazi create <Function_Name>\n\n\tOptions: kazi create\n\t--registry (-r):  Your registry namespace (REQUIRED)\n    --use-yarn: Use Yarn to install dependencies (default: false)\n    --workspace-install: Used to install the dependencies in a workspace i.e using the workspace's node_modules(default: false).\n\n\tExamples\n\t$ kazi create hello --registry=docker.io/pmbanugo\n\n  Command: kazi deploy\n\n\tOptions: kazi deploy\n\t--context (-c): Specify the context to use for the deployment (OPTIONAL)\n    --namespace (-n): Specify the namespace to deploy into (OPTIONAL)\n    --kubeconfig: Specify the KUBECONFIG YAML string to use for authentication (OPTIONAL)\n    --server: Specify the Kubernetes API Server URL (OPTIONAL)\n    --token: Specify the authentication token of a service account (OPTIONAL)\n\t--skip-tls-verify: Skip verifying TLS certificate of the API server\n\n\tExamples\n\t$ kazi deploy\n\t$ kazi deploy -c docker-desktop\n\t$ kazi deploy -c docker-desktop -n default\n\n  Command: kazi deploy\n\n\tOptions: kazi deploy\n\t--context (-c): Specify the context to use for the deployment (OPTIONAL)\n    --namespace (-n): Specify the namespace to deploy into (OPTIONAL)\n    --kubeconfig: Specify the KUBECONFIG YAML string to use for authentication (OPTIONAL)\n    --server: Specify the Kubernetes API Server URL (OPTIONAL)\n    --token: Specify the authentication token of a service account (OPTIONAL)\n\t--skip-tls-verify: Skip verifying TLS certificate of the API server (OPTIONAL)\n\n\tExamples\n\t$ kazi deploy\n\t$ kazi deploy -c docker-desktop\n\t$ kazi deploy -c docker-desktop -n default\n\n\tCommand: kazi list\n\n\tOptions: kazi deploy\n\t--context (-c): Specify the context to use for the deployment (OPTIONAL)\n    --namespace (-n): Specify the namespace to deploy into (OPTIONAL)\n    --kubeconfig: Specify the KUBECONFIG YAML string to use for authentication (OPTIONAL)\n    --server: Specify the Kubernetes API Server URL (OPTIONAL)\n    --token: Specify the authentication token of a service account (OPTIONAL)\n\t--skip-tls-verify: Skip verifying TLS certificate of the API server (OPTIONAL)\n\n\tExamples\n\t$ kazi list\n\t$ kazi list -c docker-desktop\n\t$ kazi list -n default\n```\n\n## Contributing\n\nThis repo is still a work in progress, so contributiong rules might change. But you're free to send PR, see [RELEASE doc](/RELEASE.md) for release information and [CONTRIBUTING](#) for contributiong guideline.\n","readmeFilename":"README.md","gitHead":"022d5030691256830e1f6c3b9f72d5aa44a5cc26","description":"Serverless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js fu","bugs":{"url":"https://github.com/kazi-faas/kazi/issues"},"homepage":"https://github.com/kazi-faas/kazi#readme","_id":"@kazi-faas/cli@1.6.0-dev.1","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-1tbho3GdQybEbofhumzdJlqwrUOnZ5KQEBeKgdW2mUukixHpEBu7k0NPebwexwopEToVNGa+MRFDB0+S6f0azg==","shasum":"228bc3013735b88eee8dfdf483b9f8c0e0b9df0a","tarball":"https://registry.npmjs.org/@kazi-faas/cli/-/cli-1.6.0-dev.1.tgz","fileCount":33,"unpackedSize":62528,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDl4G7ibJ9M0VR42XHZ16IE6Iv+NuxcQvaCLOswF4gXgIhANA+A7U2JpGmLp6rX1vIrIeMLEPQ44IH1abk54xiz1fh"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVGXmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq8mg//adokklKaK9DxxLRELTJpt+bKORSj5Z1R/Dx4oEfMLqfoF1jy\r\njqLvPw9WgG/0wTORTts5w8ItrapHV5oDOwH3WEz/a4lrdknIlFnODIPubAdQ\r\nkupSPJrdTDQ8OOYJ11LKCaBjhkanbAFI+P/aWP61lbbeBKjv7oDGd6mQP5un\r\nIaGitNeAprY/kR8hrcenRLqCUX634gVmb2PS+Qu5/EpilFuAXRZmSWzkGm83\r\nC37FTg4EjzZr2j+aV7w2bnB3g4GlPxfMJS/v89yt60PCLk/j6t4UwmqxJ+t6\r\n/LiaLwVCbWeCByhJ86oKalViDOy3NzyNUSMlAdHq8lAJaWUBJd3PwTamRBCm\r\n7EAhKjvmut6mgNMtv3U/4D2/+qmqZBerWfJS4MlHqgzC7IADQvVja71c8vHT\r\nIAVGWXIVQd2PPsQl9sTyXZ7g30cREC1txXP1bN/52GcL2PKhFNUi7gZXVNnP\r\nw7lCaXnQ6jJgkx5Q+Mgb25wDdUF6/dnPua/FLSAYVOY3xxP+fjDAwUITkIOJ\r\nZin06R4vzYllQG4X/SYDfYCAoj60X93SEstJZyFQXMDKHs8wlmlx5NGiONYj\r\nfY+V0tQhxa45IWAUw40eo3WFYneM1N0wV37HwEHSNahYaWKZOaXWRVZYc+b9\r\nJT6SOAEq26nwDosm/O5QC0ExgovyIBhRNRE=\r\n=y88d\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"},"directories":{},"maintainers":[{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.6.0-dev.1_1649698277958_0.32743341689892014"},"_hasShrinkwrap":false},"1.6.0":{"name":"@kazi-faas/cli","version":"1.6.0","license":"MIT","bin":{"kazi":"dist/cli.js"},"engines":{"node":">=16"},"scripts":{"build":"tsc","build:watch":"tsc --watch","start":"npm run build && dist/cli.js","pretest":"npm run build","test":"xo && ava","semantic-release":"npm run build && semantic-release"},"dependencies":{"@kubernetes/client-node":"^0.16.3","degit":"^2.8.4","got":"^11.8.3","ink":"^3.2.0","ink-table":"^3.0.0","ink-task-list":"^1.1.0","meow":"^9.0.0","pkg-install":"^1.0.0","react":"^17.0.2"},"ava":{"typescript":{"extensions":["tsx"],"rewritePaths":{"source/":"dist/"}}},"xo":{"extends":"xo-react","rules":{"react/prop-types":"off"}},"devDependencies":{"@ava/typescript":"^3.0.1","@sindresorhus/tsconfig":"^2.0.0","@types/degit":"^2.8.3","@types/react":"^17.0.37","ava":"^3.15.0","chalk":"^4.1.2","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","ink-testing-library":"^2.1.0","semantic-release":"^19.0.2","typescript":"^4.5.2","xo":"^0.39.1"},"repository":{"type":"git","url":"git+https://github.com/kazi-faas/kazi.git"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main",{"name":"dev","prerelease":true},"next"]},"publishConfig":{"access":"public"},"gitHead":"022d5030691256830e1f6c3b9f72d5aa44a5cc26","description":"Serverless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js fu","bugs":{"url":"https://github.com/kazi-faas/kazi/issues"},"homepage":"https://github.com/kazi-faas/kazi#readme","_id":"@kazi-faas/cli@1.6.0","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-6x5Ib4kXW5c/KqauxkRn3v7BlSbSqdQE6aNZLkr06bK6q9EddRR8T9KeZctgZ14WF+azVe8QPfdnThYSU4EgwQ==","shasum":"35c0e239b1c5518ecaf1abf623cacdee57d9ff17","tarball":"https://registry.npmjs.org/@kazi-faas/cli/-/cli-1.6.0.tgz","fileCount":33,"unpackedSize":62522,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEzQkfPeM7bZgb4LmseoOp4tJO4GOdNU481ZbPYj2v5jAiEArMXIODXiDwNcGME6nC5JfyfsoqALTWpytUibY4Yt1ZU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVGZYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJOw//efY3G+TwCOYpNuScHSiEjAes1jvN1f0kn4d9BA3KwvhJGLLf\r\n3jxAPny64uASOfH7VRO9j8zmPLTTMf25spXmGR7K5fEmKIsiqv6hHNTiY4Lw\r\nYeu5D1BWltSu6RyK/z4XRg4a4KrcIJs4qS3bmcSgE5I2y+LS4aKywadwN0bn\r\n+fwAeIHmFVMcjdR9gq3ck5WhcIjXEwV5vK8ZKxMZSBXgPJoWvVZZi+k5u1KW\r\nKFRxvmkJrqsYGD6j1qyE1V8XRuqa9GxxxELPixmxu+4gQE6eS4PUipLT7x5a\r\ny+mQ1T+TsdgggZjCe8ybiIuFrI8mgzHIK6oO2SLel9+Uv2Hft5sa0pHwv5TO\r\nqtvbRToHQXJ+57txzawbSQn+2PP5jE2WFkJHkplLbQywZgQgifkbSK43XxC6\r\n1bhfLJOvlqEB/PfK1jblWDQvXfp2JoK1Yz3CBEEjb4MVKD6cZQb43u9eldyO\r\ndkrDrMVSDr4TRacrmAV0/hfNxVxPD9YZkkztZv2gcOiZ3a3gFhmXdHCeQ/Fg\r\nRQubsd6Purq/wN1FWusYzcLMnH7bXV4lOGYPIkt1xnjsEzSdLZh8TImWIx95\r\nKQEXGWAoW5rzU3094YZjSziEtzVKOk4mWxYwKXoklXxLO6bTigrfyi5saI00\r\ntMnMYJwK1L4ehVPwN37AgtVWdqAYVueQeVw=\r\n=Q1EF\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"},"directories":{},"maintainers":[{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.6.0_1649698392036_0.49376975927400557"},"_hasShrinkwrap":false},"1.7.0-dev.1":{"name":"@kazi-faas/cli","version":"1.7.0-dev.1","license":"MIT","bin":{"kazi":"dist/cli.js"},"engines":{"node":">=16"},"scripts":{"build":"tsc","build:watch":"tsc --watch","start":"npm run build && dist/cli.js","pretest":"npm run build","test":"xo && ava","semantic-release":"npm run build && semantic-release"},"dependencies":{"@kubernetes/client-node":"^0.16.3","degit":"^2.8.4","got":"^11.8.3","ink":"^3.2.0","ink-table":"^3.0.0","ink-task-list":"^1.1.0","meow":"^9.0.0","pkg-install":"^1.0.0","react":"^17.0.2"},"ava":{"typescript":{"extensions":["tsx"],"rewritePaths":{"source/":"dist/"}}},"xo":{"extends":"xo-react","rules":{"react/prop-types":"off"}},"devDependencies":{"@ava/typescript":"^3.0.1","@sindresorhus/tsconfig":"^2.0.0","@types/degit":"^2.8.3","@types/react":"^17.0.37","ava":"^3.15.0","chalk":"^4.1.2","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","ink-testing-library":"^2.1.0","semantic-release":"^19.0.2","typescript":"^4.5.2","xo":"^0.39.1"},"repository":{"type":"git","url":"git+https://github.com/kazi-faas/kazi.git"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main",{"name":"dev","prerelease":true},"next"]},"publishConfig":{"access":"public"},"readme":"# kazi - your serverless function tool for Knative\n\nServerless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js functions, but hopefully include a Deno runtime in the near future (perhaps you can sponsor this feature. Check out the [sponsors pages](#)\n\n> Knative provides reduced operational overhead, auto-scaling, automatic domain and TLS provisioning. Add functions to it, you get the features of serverless functions that has become popular and loved among developers.\n\n## Features\n\n- **Standard:** The function runtime is just HTTP. It runs anywhere Node.js is supported!\n- **Lightweight:** The function has just one dependency, which weighs less than 1MB.\n- **Simple:** Designed for single purpose functions.\n- **Easy:** Super easy deployment and containerization. Local development experience is the same as any Node.js application development.\n- **JSON Parsing:** JSON parsing is opt-in.\n- For local development, environment variables are automatically read from a `.env` file.\n- For Kubernetes deployment, environment variables in `.env` is saved in a ConfigMap and used at runtime.\n\n## Install The CLI\n\n```bash\nnpm i -g @kazi-faas/cli\n```\n\n## Pre-requisite\n\n1. Docker\n2. pack CLI\n3. Node 16.3.x (some commands may not run smoothly in versions below 16)\n4. Kubectl (kazi uses the current context for authentication)\n\n## Getting Started\n\nThis section will show you how quick it is to create and deploy a basic function that returns a JSON string value. The first thing to do is to install the CLI using the command `npm i -g @kazi-faas/cli`. After that's done, the CLI should be accessible with the `kazi` command. When you run `kazi` in the terminal without any commands or flags, it will print out the help text with a list of possible commands.\n\nWith the CLI installed, create a new function using the command below:\n\n```bash\nkazi create hello --registry=YOUR_REGISTRY_NAMESPACE\n```\n\n> Replace `YOUR_REGISTRY_NAMESPACE` with the URL to your container registry. For example, docker.io/pmbanugo.\n\nA new Node project will be created in a directory called **hello**. In this directory, you have the following files.\n\n```\nconfig.json\nindex.js\npackage.json\n```\n\nThe **config.json** file contains the configuration used to build and deploy the function. The **index.js** file is the entry point into the application. It exports a function that returns a string.\n\n```javascript\nmodule.exports = (req, res) => \"Welcome to Kazi\";\n```\n\nWhen the function runs, it'll return a 200 status code with the JSON string `Welcome to Kazi`.\n\nNow, open your terminal and deploy the function by running the command `kazi deploy` from the project's path. This will build the project, push it to your container registry, and then deploy it to Knative. If it successfully deploys to Knative, you will see a success message and a URL to access to function.\n\n![kazi deploy](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/va7fe3fd7vp1waegp1qy.png)\n\nNow open the URL in a browser and you should see `Welcome to Kazi` displayed as a response. That's how quick it takes to create and deploy a function.\n\n### Function Configuration\n\nThere's not so much you can customise for the project at the moment. The _config.json_ file only stores the name for the function and the container registry.\n\nThe function API is based on [micro](https://github.com/vercel/micro). You can check the documentation for how to [read the request body](https://github.com/vercel/micro#body-parsing), or the available [APIs](https://github.com/vercel/micro#api). There will be more extensions custom to kazi in the future, so keep an eye for that 😉.\n\n## Environment Variables\n\nThe function can read environment variables from a **.env**. The values are automatically loaded when running locally (using `npm run dev`), and are automatically uploaded to your Kubernetes cluster as a ConfigMap object, which is then loaded when the container starts. Therefore, you need not do any magic to get environment variable working locally or in the cluster.\n\n## Tutorials\n\n- [From AWS Lambda & API Gateway To Knative & Kong API Gateway](https://www.pmbanugo.me/blog/2022-02-13-from-aws-lambda-api-gateway-to-knative-kong-api-gateway/)\n\n## CLI\n\n```\nCommands\n  $ kazi create: Scaffold a new project\n  $ kazi list: List the functions deployed using kazi\n  $ kazi deploy: Deploy a function (only works if you're inside the function's directory)\n  $ kazi --help: Show help text\n\nUsage\n  Command: kazi create <Function_Name>\n\n\tOptions: kazi create\n\t--registry (-r):  Your registry namespace (REQUIRED)\n    --use-yarn: Use Yarn to install dependencies (default: false)\n    --workspace-install: Used to install the dependencies in a workspace i.e using the workspace's node_modules(default: false).\n\n\tExamples\n\t$ kazi create hello --registry=docker.io/pmbanugo\n\n  Command: kazi deploy\n\n\tOptions: kazi deploy\n\t--context (-c): Specify the context to use for the deployment (OPTIONAL)\n    --namespace (-n): Specify the namespace to deploy into (OPTIONAL)\n    --kubeconfig: Specify the KUBECONFIG YAML string to use for authentication (OPTIONAL)\n    --server: Specify the Kubernetes API Server URL (OPTIONAL)\n    --token: Specify the authentication token of a service account (OPTIONAL)\n\t--skip-tls-verify: Skip verifying TLS certificate of the API server\n\n\tExamples\n\t$ kazi deploy\n\t$ kazi deploy -c docker-desktop\n\t$ kazi deploy -c docker-desktop -n default\n\n  Command: kazi deploy\n\n\tOptions: kazi deploy\n\t--context (-c): Specify the context to use for the deployment (OPTIONAL)\n    --namespace (-n): Specify the namespace to deploy into (OPTIONAL)\n    --kubeconfig: Specify the KUBECONFIG YAML string to use for authentication (OPTIONAL)\n    --server: Specify the Kubernetes API Server URL (OPTIONAL)\n    --token: Specify the authentication token of a service account (OPTIONAL)\n\t--skip-tls-verify: Skip verifying TLS certificate of the API server (OPTIONAL)\n\n\tExamples\n\t$ kazi deploy\n\t$ kazi deploy -c docker-desktop\n\t$ kazi deploy -c docker-desktop -n default\n\n\tCommand: kazi list\n\n\tOptions: kazi deploy\n\t--context (-c): Specify the context to use for the deployment (OPTIONAL)\n    --namespace (-n): Specify the namespace to deploy into (OPTIONAL)\n    --kubeconfig: Specify the KUBECONFIG YAML string to use for authentication (OPTIONAL)\n    --server: Specify the Kubernetes API Server URL (OPTIONAL)\n    --token: Specify the authentication token of a service account (OPTIONAL)\n\t--skip-tls-verify: Skip verifying TLS certificate of the API server (OPTIONAL)\n\n\tExamples\n\t$ kazi list\n\t$ kazi list -c docker-desktop\n\t$ kazi list -n default\n```\n\n## Contributing\n\nThis repo is still a work in progress, so contributiong rules might change. But you're free to send PR, see [RELEASE doc](/RELEASE.md) for release information and [CONTRIBUTING](#) for contributiong guideline.\n","readmeFilename":"README.md","gitHead":"77f90c2c8d7dc61e5db898e9d13ee8df8ad5e50f","description":"Serverless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js fu","bugs":{"url":"https://github.com/kazi-faas/kazi/issues"},"homepage":"https://github.com/kazi-faas/kazi#readme","_id":"@kazi-faas/cli@1.7.0-dev.1","_nodeVersion":"16.14.2","_npmVersion":"8.5.5","dist":{"integrity":"sha512-ESrRRUwJij4xssDu/b+OCVNYLtBaZrzvXmp1rlLitjx7dYxqbf0xUwhC2nrxj5ex5U1zlMb33CC5pXxPVg0DPA==","shasum":"5d6bb7756427cea49aba214564714ec6e82c4484","tarball":"https://registry.npmjs.org/@kazi-faas/cli/-/cli-1.7.0-dev.1.tgz","fileCount":27,"unpackedSize":53462,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDM7HpCYZH9c0/jiYnawqTr3jSZQyvz4J9YknLgxfwWaAiBHwvXSIndDf56B4CrqvUV3Zedoi97fH7kgw66o5lsfqA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVINDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmphTg/9EkmM52LLJ9h4PgD8s69Vj8Y+lJsdqFNNyFvVUEpQguGLSxze\r\ntyLzPmNF+2DHAT99SFImIZg/rTTFiowXFij/h2ki4vgkdH/A3syTmYxwo1d3\r\nZGK3rj+nxH6YfNxrlrUxM1pl8Z2clUgL5gPVx4gLWMkCA7cssZbw0JDMiSQ0\r\nDaBB66v6jlziUL7PZf07HJWUr2vggQ9Chsn8AgDDk+B3GrdF5fhKqUtW9CAw\r\nNlwywf6j9c8Sydek1XVCA2YTjeXVYdm0pa5dIEYNCrMD98q8ZxcpUVXkEdLD\r\nHw3bx2HO8DXVpI4g52VDusDI8olNEfE/vjIkXLUxFGY85FipMnrK+ekAv2iD\r\n2KyVfGLyGF1kV3T0Otm38hQOr4AUtImk8OaJa4sFccB+H+9sRauBds163JSl\r\nQs1McUH6llvk7FYyMFVqX4IVkzAZ6LrOWInlbFtSpOeagIiLCAvR8l3RsGuJ\r\niVuv2P/gOEDeIXG42tPImBi5cIKgQNT+XLOE7QJ0NYJ/5GfJ6/az23/YG5Na\r\nwVmcyllpWl1QpkRPyuBo3LDphqzRu4MTkEq4MtVOhjFqdSNaXd2m9q+eeqcQ\r\nSiHg405xYVmpoddmjQotaMZWqanc/2MaRpN2rZIBHkGDzMN7Dc/WnROQm78r\r\nLQgzE2PI3IKafHxPJkKivvn/3dI0rGhKAZE=\r\n=QZwZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"},"directories":{},"maintainers":[{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.7.0-dev.1_1649705794896_0.9035709757583521"},"_hasShrinkwrap":false},"1.7.0":{"name":"@kazi-faas/cli","version":"1.7.0","license":"MIT","bin":{"kazi":"dist/cli.js"},"engines":{"node":">=16"},"scripts":{"build":"tsc","build:watch":"tsc --watch","start":"npm run build && dist/cli.js","pretest":"npm run build","test":"xo && ava","semantic-release":"npm run build && semantic-release"},"dependencies":{"@kubernetes/client-node":"^0.16.3","degit":"^2.8.4","got":"^11.8.3","ink":"^3.2.0","ink-table":"^3.0.0","ink-task-list":"^1.1.0","meow":"^9.0.0","pkg-install":"^1.0.0","react":"^17.0.2"},"ava":{"typescript":{"extensions":["tsx"],"rewritePaths":{"source/":"dist/"}}},"xo":{"extends":"xo-react","rules":{"react/prop-types":"off"}},"devDependencies":{"@ava/typescript":"^3.0.1","@sindresorhus/tsconfig":"^2.0.0","@types/degit":"^2.8.3","@types/react":"^17.0.37","ava":"^3.15.0","chalk":"^4.1.2","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","ink-testing-library":"^2.1.0","semantic-release":"^19.0.2","typescript":"^4.5.2","xo":"^0.39.1"},"repository":{"type":"git","url":"git+https://github.com/kazi-faas/kazi.git"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main",{"name":"dev","prerelease":true},"next"]},"publishConfig":{"access":"public"},"gitHead":"b4d6c8d8c5197b95e33378168a0d8d26f9d78499","description":"Serverless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js fu","bugs":{"url":"https://github.com/kazi-faas/kazi/issues"},"homepage":"https://github.com/kazi-faas/kazi#readme","_id":"@kazi-faas/cli@1.7.0","_nodeVersion":"16.14.2","_npmVersion":"8.5.5","dist":{"integrity":"sha512-6DiSnzaUNw7eKb33opkg6HiwXB+Uo62jAnZqP3CgUC7NMU0Ax/WUhvR6IbH5k7TiJmF5HViJVwRvB4K+e5z5mw==","shasum":"db79f36421856cc3c5542ef1b8c80fa9ea1513df","tarball":"https://registry.npmjs.org/@kazi-faas/cli/-/cli-1.7.0.tgz","fileCount":27,"unpackedSize":53456,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrAZO4vJc1TXFiO6WkOpSrBjk53e97ZoCnQlojJYGbQwIhAPEZmZRdQR/2QSiNNF+xHHaVetjtvGe8VjdrHGQ7f4ci"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVIX/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpX5g//ZpQK0UX2YR2i6y9ejaN+GRIGSVGPsHyjhaYBEQQAT0oF3Khj\r\n9jwz/YfBn3tguJj6G01lq4LHAu61VO/6ozrirEvE24lo+metB9rZ79szD/7V\r\nbLSmA0RyOYeaXNYcwet/pS97eC5533mSbLd5PY6Gy3uJxS32hqRd0qcPU6yO\r\nLHIJCY2TnVVpKEORBvBmNXDEMt+Ih+CGQ9Uf4WqX45oGjH7U8bSJie6X/zRD\r\n9587ZL6HNVSy9FlMKKBzfOYF5wdHIihrAYvJoiFID3QRLqklnz7BwnxtvI/9\r\npQG0WaRmva6s0ZOUcPQAO8pcoMAvGs8syE4R723oy7lazt6pFywYDHELX1Bj\r\nsnx81xtJqq4c5d+1acLhyssIVtmzqyl4vben32nuThD4XAnGORJtVmktYE2Z\r\niQ25sWJpfd2Hh+jfixvjXt03RWYIlxnCFzx0Ip4tt/PxQjZiNIpUQR8ygH7k\r\niCg0LT6YebT035d/Jh+7m+R1HHgrXTuq3OFPh+xiIW+sOrJPWuLDfL8f66u+\r\n4AH6NSxNDctzcTO7r+xDKGM+WF5HO+hamYbb+AOj+sCYAKowsbfOsZPvT0xE\r\nU0sy+FlBXPlrBTAny2CXWxk0qvsEuxuzRRuOyjuml2H0m9BGN2IsjLZTmBF3\r\nKgPJAKcfpIvzt02UkOFJ15u8LTK5yDZ4zVg=\r\n=dJi8\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"},"directories":{},"maintainers":[{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.7.0_1649706494926_0.3317169150657142"},"_hasShrinkwrap":false},"1.8.0-dev.1":{"name":"@kazi-faas/cli","version":"1.8.0-dev.1","license":"MIT","bin":{"kazi":"dist/cli.js"},"engines":{"node":">=16"},"scripts":{"build":"tsc","build:watch":"tsc --watch","start":"npm run build && dist/cli.js","pretest":"npm run build","test":"xo && ava","semantic-release":"npm run build && semantic-release"},"dependencies":{"@kubernetes/client-node":"^0.16.3","degit":"^2.8.4","got":"^11.8.3","ink":"^3.2.0","ink-table":"^3.0.0","ink-task-list":"^1.1.0","meow":"^9.0.0","pkg-install":"^1.0.0","react":"^17.0.2"},"ava":{"typescript":{"extensions":["tsx"],"rewritePaths":{"source/":"dist/"}}},"xo":{"extends":"xo-react","rules":{"react/prop-types":"off"}},"devDependencies":{"@ava/typescript":"^3.0.1","@sindresorhus/tsconfig":"^2.0.0","@types/degit":"^2.8.3","@types/react":"^17.0.37","ava":"^3.15.0","chalk":"^4.1.2","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","ink-testing-library":"^2.1.0","semantic-release":"^19.0.2","typescript":"^4.5.2","xo":"^0.39.1"},"repository":{"type":"git","url":"git+https://github.com/kazi-faas/kazi.git"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main",{"name":"dev","prerelease":true},"next"]},"publishConfig":{"access":"public"},"readme":"# kazi - your serverless function tool for Knative\n\nServerless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js functions, but hopefully include a Deno runtime in the near future (perhaps you can sponsor this feature. Check out the [sponsors pages](https://github.com/sponsors/pmbanugo)\n\n> Knative provides reduced operational overhead, auto-scaling, automatic domain and TLS provisioning. Add functions to it, you get the features of serverless functions that has become popular and loved among developers.\n\n## Features\n\n- **Standard:** The function runtime is just HTTP. It runs anywhere Node.js is supported!\n- **Lightweight:** The function has just one dependency, which weighs less than 1MB.\n- **Simple:** Designed for single purpose functions.\n- **Easy:** Super easy deployment and containerization. Local development experience is the same as any Node.js application development.\n- **JSON Parsing:** JSON parsing is opt-in.\n- For local development, environment variables are automatically read from a `.env` file.\n- For Kubernetes deployment, environment variables in `.env` is saved in a ConfigMap and used at runtime.\n\n## Install The CLI\n\n```bash\nnpm i -g @kazi-faas/cli\n```\n\n## Pre-requisite\n\n1. Docker\n2. pack CLI\n3. Node 16.3.x (some commands may not run smoothly in versions below 16)\n4. Kubectl (kazi uses the current context for authentication)\n\n## Getting Started\n\nThis section will show you how quick it is to create and deploy a basic function that returns a JSON string value. The first thing to do is to install the CLI using the command `npm i -g @kazi-faas/cli`. After that's done, the CLI should be accessible with the `kazi` command. When you run `kazi` in the terminal without any commands or flags, it will print out the help text with a list of possible commands.\n\nWith the CLI installed, create a new function using the command below:\n\n```bash\nkazi create hello --registry=YOUR_REGISTRY_NAMESPACE\n```\n\n> Replace `YOUR_REGISTRY_NAMESPACE` with the URL to your container registry. For example, docker.io/pmbanugo.\n\nA new Node project will be created in a directory called **hello**. In this directory, you have the following files.\n\n```\nconfig.json\nindex.js\npackage.json\n```\n\nThe **config.json** file contains the configuration used to build and deploy the function. The **index.js** file is the entry point into the application. It exports a function that returns a string.\n\n```javascript\nmodule.exports = (req, res) => \"Welcome to Kazi\";\n```\n\nWhen the function runs, it'll return a 200 status code with the JSON string `Welcome to Kazi`.\n\nNow, open your terminal and deploy the function by running the command `kazi deploy` from the project's path. This will build the project, push it to your container registry, and then deploy it to Knative. If it successfully deploys to Knative, you will see a success message and a URL to access to function.\n\n![kazi deploy](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/va7fe3fd7vp1waegp1qy.png)\n\nNow open the URL in a browser and you should see `Welcome to Kazi` displayed as a response. That's how quick it takes to create and deploy a function.\n\n### Function Configuration\n\nThere's not so much you can customise for the project at the moment. The _config.json_ file only stores the name for the function and the container registry.\n\nThe function API is based on [micro](https://github.com/vercel/micro). You can check the documentation for how to [read the request body](https://github.com/vercel/micro#body-parsing), or the available [APIs](https://github.com/vercel/micro#api). There will be more extensions custom to kazi in the future, so keep an eye for that 😉.\n\n## Environment Variables\n\nThe function can read environment variables from a **.env**. The values are automatically loaded when running locally (using `npm run dev`), and are automatically uploaded to your Kubernetes cluster as a ConfigMap object, which is then loaded when the container starts. Therefore, you need not do any magic to get environment variable working locally or in the cluster.\n\n## Tutorials\n\n- [From AWS Lambda & API Gateway To Knative & Kong API Gateway](https://www.pmbanugo.me/blog/2022-02-13-from-aws-lambda-api-gateway-to-knative-kong-api-gateway/)\n\n## CLI\n\n```\nCommands\n  $ kazi create: Scaffold a new project\n  $ kazi list: List the functions deployed using kazi\n  $ kazi deploy: Deploy a function (only works if you're inside the function's directory)\n  $ kazi --help: Show help text\n\nUsage\n  Command: kazi create <Function_Name>\n\n\tOptions: kazi create\n\t--registry (-r):  Your registry namespace (REQUIRED)\n    --use-yarn: Use Yarn to install dependencies (default: false)\n    --workspace-install: Used to install the dependencies in a workspace i.e using the workspace's node_modules(default: false).\n\n\tExamples\n\t$ kazi create hello --registry=docker.io/pmbanugo\n\n  Command: kazi deploy\n\n\tOptions: kazi deploy\n\t--context (-c): Specify the context to use for the deployment (OPTIONAL)\n    --namespace (-n): Specify the namespace to deploy into (OPTIONAL)\n    --kubeconfig: Specify the KUBECONFIG YAML string to use for authentication (OPTIONAL)\n    --server: Specify the Kubernetes API Server URL (OPTIONAL)\n    --token: Specify the authentication token of a service account (OPTIONAL)\n\t--skip-tls-verify: Skip verifying TLS certificate of the API server\n\n\tExamples\n\t$ kazi deploy\n\t$ kazi deploy -c docker-desktop\n\t$ kazi deploy -c docker-desktop -n default\n\n  Command: kazi deploy\n\n\tOptions: kazi deploy\n\t--context (-c): Specify the context to use for the deployment (OPTIONAL)\n    --namespace (-n): Specify the namespace to deploy into (OPTIONAL)\n    --kubeconfig: Specify the KUBECONFIG YAML string to use for authentication (OPTIONAL)\n    --server: Specify the Kubernetes API Server URL (OPTIONAL)\n    --token: Specify the authentication token of a service account (OPTIONAL)\n\t--skip-tls-verify: Skip verifying TLS certificate of the API server (OPTIONAL)\n\n\tExamples\n\t$ kazi deploy\n\t$ kazi deploy -c docker-desktop\n\t$ kazi deploy -c docker-desktop -n default\n\n\tCommand: kazi list\n\n\tOptions: kazi deploy\n\t--context (-c): Specify the context to use for the deployment (OPTIONAL)\n    --namespace (-n): Specify the namespace to deploy into (OPTIONAL)\n    --kubeconfig: Specify the KUBECONFIG YAML string to use for authentication (OPTIONAL)\n    --server: Specify the Kubernetes API Server URL (OPTIONAL)\n    --token: Specify the authentication token of a service account (OPTIONAL)\n\t--skip-tls-verify: Skip verifying TLS certificate of the API server (OPTIONAL)\n\n\tExamples\n\t$ kazi list\n\t$ kazi list -c docker-desktop\n\t$ kazi list -n default\n```\n\n## Contributing\n\nThis repo is still a work in progress, so contributiong rules might change. But you're free to send PR, see [RELEASE doc](/RELEASE.md) for release information and [CONTRIBUTING](#) for contributiong guideline.\n","readmeFilename":"README.md","gitHead":"ef2d8688c56667ce72dc24bbfd1f3990eb8ecdb4","description":"Serverless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js fu","bugs":{"url":"https://github.com/kazi-faas/kazi/issues"},"homepage":"https://github.com/kazi-faas/kazi#readme","_id":"@kazi-faas/cli@1.8.0-dev.1","_nodeVersion":"16.16.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-WhBs4karv+PxXDdgDHVMRDj0xglrJQJtQO1JbMfccFOnoFTrjVcbGu3V+0DF7J6Z4Gd4U2hfty7P7pytU0Y1wg==","shasum":"6829afac9b986059ca755e033639386b6d3fc727","tarball":"https://registry.npmjs.org/@kazi-faas/cli/-/cli-1.8.0-dev.1.tgz","fileCount":27,"unpackedSize":53497,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEMxjs1gRRvUtvzkT02/zDhFQXi3oj0Hd2FkxS8VQER5AiAgjsGDqNRmX59tnAxd1Ba/Jd55gE6ejGDrjdQQhWIF8w=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6P+wACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo3/A/+Mybz/Pu2QO1CuesK8q30t0pXdEsW6pJTaNW9xvK3BX6tL2d2\r\nX/g7hG8onFiHZ+vBn4HJxIjbc4z81RZvoSDiCpV+dsy59Dj21UH6c57U6bHp\r\nt0OZj+ECMu2NYzuPsgxN4DOs0I4t3+t0EtwDdWDrnQYLmyCYm+aib2P1isZG\r\njrVwyZnWMYFTKkctO0HGNcCoOx+ArcjzdiPxpdapVIm7CZLHLvzbJ5NqHLPa\r\n6QgHMB0Ch/A7aM2FdxpjrgE6u2vf7WIWlBJ48tmyzFnCuIw4t7WQpKuch1+i\r\nEcE2MmqobGTFbenatlQUUHopTNAEv+lTTYT7BcDDLGz3eSt7bdk/R/Q7b0Of\r\nxRQUUEscsaaa83wt4GFr/1kjXmQzhi6ZMrZmXXOl25VtSfugGCsBnrNpO7dq\r\nLNnCGjsQLLd0ZOrj6glHutQMFlswMf88oM4XhJOvgMaFlLsamW3bxCrV3AxS\r\nuYGlPRgXu2QeSDt8V6kV3L3zfVv3iQ2GGQ6OYb/bCJqFohUgMKPouQDuB/fx\r\nTr575zyFkbwgjznzLHcYbHZQvOwJ/+6jqYsx2KIU+LQ6dT6Nv22eb9dU7L4q\r\nTyXd9b9v2KVVX3eoGxOl7SkStKPvJdQ6jPTo55NVF9NKCrlHJQrxtIqRo9ol\r\nOaYXAtfnbDIZ0bfexxPLxdIPEvEcv8JQi/0=\r\n=O0tS\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"},"directories":{},"maintainers":[{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.8.0-dev.1_1659436976055_0.19773836691101532"},"_hasShrinkwrap":false},"1.8.0":{"name":"@kazi-faas/cli","version":"1.8.0","license":"MIT","bin":{"kazi":"dist/cli.js"},"engines":{"node":">=16"},"scripts":{"build":"tsc","build:watch":"tsc --watch","start":"npm run build && dist/cli.js","pretest":"npm run build","test":"xo && ava","semantic-release":"npm run build && semantic-release"},"dependencies":{"@kubernetes/client-node":"^0.16.3","degit":"^2.8.4","got":"^11.8.3","ink":"^3.2.0","ink-table":"^3.0.0","ink-task-list":"^1.1.0","meow":"^9.0.0","pkg-install":"^1.0.0","react":"^17.0.2"},"ava":{"typescript":{"extensions":["tsx"],"rewritePaths":{"source/":"dist/"}}},"xo":{"extends":"xo-react","rules":{"react/prop-types":"off"}},"devDependencies":{"@ava/typescript":"^3.0.1","@sindresorhus/tsconfig":"^2.0.0","@types/degit":"^2.8.3","@types/react":"^17.0.37","ava":"^3.15.0","chalk":"^4.1.2","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","ink-testing-library":"^2.1.0","semantic-release":"^19.0.2","typescript":"^4.5.2","xo":"^0.39.1"},"repository":{"type":"git","url":"git+https://github.com/kazi-faas/kazi.git"},"release":{"branches":["+([0-9])?(.{+([0-9]),x}).x","main",{"name":"dev","prerelease":true},"next"]},"publishConfig":{"access":"public"},"gitHead":"11493f5ff3faddcf8ba9d075df471a2f0abe0389","description":"Serverless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js fu","bugs":{"url":"https://github.com/kazi-faas/kazi/issues"},"homepage":"https://github.com/kazi-faas/kazi#readme","_id":"@kazi-faas/cli@1.8.0","_nodeVersion":"16.16.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-DxwfG0yrjBygTx4aXolNUDl+M1KwcG/7dhBPP0cl3IVgNQDGegCJ+Pgr52pZPhZdiFWcSdGN5uBb7HiOHynGAQ==","shasum":"8bf868fb1ba7471efc21782f91c952f058291606","tarball":"https://registry.npmjs.org/@kazi-faas/cli/-/cli-1.8.0.tgz","fileCount":27,"unpackedSize":53491,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDUSowU2yJ6eze5yVSgYK4xeRr2v6j6kT9WTldsFhfNlAiBYzBTjVvpiRMzStNRxJJNMUg++dW65XL7DsGyOvkIB/Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6QAyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoVOA/+LBxKmAUlvlFmIbI3/EV0T2nVji4QafPjRsa+ohD6E/lzRI3y\r\nCc5bq96n+zi0CNmh1DHKzLruloKQB4FttN4p/jUMD2tSeCx9EwJ5oVDCrMRY\r\n8h6wxzsr87d5RXztKaKKVu6ecWyiVc7gbhImn4WeZW9oiCK/zap4aLfF9gjA\r\n8akDseN7CBVlN7nre3TjFSxpbCnXUfEuipdGtSB9bleMRgw+VBLT2lwmXVE+\r\nV299KDKE/kNhwnUfD2iI+EZMwrogn7AVOHrpi6t4WWixzc8YMXFBO+Bk4fLd\r\ngVNQtteGhEBBTKdkYcy+O9O+uAPS7n9nc0qFI2VefgoDMlQK3Qw/fEE4LMks\r\nNcapCjXUMo7ZqjfzedQu216J9ITaUdXG08WyH4Wqln1ipgphcDgRFEWsULWr\r\nar7MoUCLD0YO1n3N5wZr1K9oJOPczsIQAgECYpUK9p73QMdqsIlsiNG/qUot\r\nXpqSul0yVLiLz/S1t+6re+NBXOtZzbTd4O4vdv57mkHb3fScBtZyuMl732t4\r\nekAuSfXhkGDYQnVo2Lw3OohBD2xXRnsxLiFO8WmFKAbh6swCUPmu0ehdbI6N\r\nqy8PQ2ZyvUKgTzlMdwJKR5WhvwzkFK5wU2A7ZpK+wioIb3l6a/yEsdVw9oU8\r\nAprZNIG+3H+B8sqj9Bv3FaAIUjSO9GirRyU=\r\n=l15N\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"},"directories":{},"maintainers":[{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.8.0_1659437106361_0.5521140470942105"},"_hasShrinkwrap":false}},"time":{"created":"2022-01-28T14:51:46.313Z","1.0.1":"2022-01-28T14:51:46.513Z","modified":"2022-08-02T10:45:06.689Z","1.0.2":"2022-01-28T16:03:48.430Z","1.0.3":"2022-01-28T16:09:23.461Z","1.0.4":"2022-01-28T16:20:11.566Z","1.0.5":"2022-01-28T16:34:33.099Z","1.0.6-dev.1":"2022-01-28T17:03:51.579Z","1.0.6-dev.2":"2022-01-28T18:22:34.719Z","1.0.6-dev.3":"2022-01-28T18:25:32.904Z","1.0.6":"2022-01-28T18:41:28.947Z","1.1.0-dev.1":"2022-02-09T22:08:38.766Z","1.1.0-dev.2":"2022-02-12T18:24:06.253Z","1.1.0-dev.3":"2022-02-12T18:47:34.916Z","1.1.0":"2022-02-13T03:41:28.886Z","1.2.0":"2022-02-14T11:24:42.898Z","1.2.1-dev.1":"2022-02-15T19:57:41.067Z","1.2.1":"2022-02-17T19:17:35.556Z","1.3.0":"2022-03-06T16:55:24.631Z","1.3.0-dev.1":"2022-03-06T16:57:32.023Z","1.3.0-dev.2":"2022-03-07T21:31:50.173Z","1.3.0-dev.3":"2022-03-07T22:12:57.108Z","1.4.0-dev.1":"2022-03-07T22:13:27.582Z","1.4.0":"2022-03-07T22:13:56.418Z","1.5.0":"2022-03-07T22:23:16.844Z","1.6.0-dev.1":"2022-04-11T17:31:18.144Z","1.6.0":"2022-04-11T17:33:12.238Z","1.7.0-dev.1":"2022-04-11T19:36:35.076Z","1.7.0":"2022-04-11T19:48:15.055Z","1.8.0-dev.1":"2022-08-02T10:42:56.241Z","1.8.0":"2022-08-02T10:45:06.585Z"},"maintainers":[{"name":"pmbanugo","email":"p.mbanugo@yahoo.com"}],"description":"Serverless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js fu","homepage":"https://github.com/kazi-faas/kazi#readme","repository":{"type":"git","url":"git+https://github.com/kazi-faas/kazi.git"},"bugs":{"url":"https://github.com/kazi-faas/kazi/issues"},"license":"MIT","readme":"# kazi - your serverless function tool for Knative\n\nServerless functions allow developers to quickly implement and deploy functionality that can be invoked via HTTP requests. This CLI enables easy development and deployment of serverless JS functions to Knative. Currently supports deploying only Node.js functions, but hopefully include a Deno runtime in the near future (perhaps you can sponsor this feature. Check out the [sponsors pages](https://github.com/sponsors/pmbanugo)\n\n> Knative provides reduced operational overhead, auto-scaling, automatic domain and TLS provisioning. Add functions to it, you get the features of serverless functions that has become popular and loved among developers.\n\n## Features\n\n- **Standard:** The function runtime is just HTTP. It runs anywhere Node.js is supported!\n- **Lightweight:** The function has just one dependency, which weighs less than 1MB.\n- **Simple:** Designed for single purpose functions.\n- **Easy:** Super easy deployment and containerization. Local development experience is the same as any Node.js application development.\n- **JSON Parsing:** JSON parsing is opt-in.\n- For local development, environment variables are automatically read from a `.env` file.\n- For Kubernetes deployment, environment variables in `.env` is saved in a ConfigMap and used at runtime.\n\n## Install The CLI\n\n```bash\nnpm i -g @kazi-faas/cli\n```\n\n## Pre-requisite\n\n1. Docker\n2. pack CLI\n3. Node 16.3.x (some commands may not run smoothly in versions below 16)\n4. Kubectl (kazi uses the current context for authentication)\n\n## Getting Started\n\nThis section will show you how quick it is to create and deploy a basic function that returns a JSON string value. The first thing to do is to install the CLI using the command `npm i -g @kazi-faas/cli`. After that's done, the CLI should be accessible with the `kazi` command. When you run `kazi` in the terminal without any commands or flags, it will print out the help text with a list of possible commands.\n\nWith the CLI installed, create a new function using the command below:\n\n```bash\nkazi create hello --registry=YOUR_REGISTRY_NAMESPACE\n```\n\n> Replace `YOUR_REGISTRY_NAMESPACE` with the URL to your container registry. For example, docker.io/pmbanugo.\n\nA new Node project will be created in a directory called **hello**. In this directory, you have the following files.\n\n```\nconfig.json\nindex.js\npackage.json\n```\n\nThe **config.json** file contains the configuration used to build and deploy the function. The **index.js** file is the entry point into the application. It exports a function that returns a string.\n\n```javascript\nmodule.exports = (req, res) => \"Welcome to Kazi\";\n```\n\nWhen the function runs, it'll return a 200 status code with the JSON string `Welcome to Kazi`.\n\nNow, open your terminal and deploy the function by running the command `kazi deploy` from the project's path. This will build the project, push it to your container registry, and then deploy it to Knative. If it successfully deploys to Knative, you will see a success message and a URL to access to function.\n\n![kazi deploy](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/va7fe3fd7vp1waegp1qy.png)\n\nNow open the URL in a browser and you should see `Welcome to Kazi` displayed as a response. That's how quick it takes to create and deploy a function.\n\n### Function Configuration\n\nThere's not so much you can customise for the project at the moment. The _config.json_ file only stores the name for the function and the container registry.\n\nThe function API is based on [micro](https://github.com/vercel/micro). You can check the documentation for how to [read the request body](https://github.com/vercel/micro#body-parsing), or the available [APIs](https://github.com/vercel/micro#api). There will be more extensions custom to kazi in the future, so keep an eye for that 😉.\n\n## Environment Variables\n\nThe function can read environment variables from a **.env**. The values are automatically loaded when running locally (using `npm run dev`), and are automatically uploaded to your Kubernetes cluster as a ConfigMap object, which is then loaded when the container starts. Therefore, you need not do any magic to get environment variable working locally or in the cluster.\n\n## Tutorials\n\n- [From AWS Lambda & API Gateway To Knative & Kong API Gateway](https://www.pmbanugo.me/blog/2022-02-13-from-aws-lambda-api-gateway-to-knative-kong-api-gateway/)\n\n## CLI\n\n```\nCommands\n  $ kazi create: Scaffold a new project\n  $ kazi list: List the functions deployed using kazi\n  $ kazi deploy: Deploy a function (only works if you're inside the function's directory)\n  $ kazi --help: Show help text\n\nUsage\n  Command: kazi create <Function_Name>\n\n\tOptions: kazi create\n\t--registry (-r):  Your registry namespace (REQUIRED)\n    --use-yarn: Use Yarn to install dependencies (default: false)\n    --workspace-install: Used to install the dependencies in a workspace i.e using the workspace's node_modules(default: false).\n\n\tExamples\n\t$ kazi create hello --registry=docker.io/pmbanugo\n\n  Command: kazi deploy\n\n\tOptions: kazi deploy\n\t--context (-c): Specify the context to use for the deployment (OPTIONAL)\n    --namespace (-n): Specify the namespace to deploy into (OPTIONAL)\n    --kubeconfig: Specify the KUBECONFIG YAML string to use for authentication (OPTIONAL)\n    --server: Specify the Kubernetes API Server URL (OPTIONAL)\n    --token: Specify the authentication token of a service account (OPTIONAL)\n\t--skip-tls-verify: Skip verifying TLS certificate of the API server\n\n\tExamples\n\t$ kazi deploy\n\t$ kazi deploy -c docker-desktop\n\t$ kazi deploy -c docker-desktop -n default\n\n  Command: kazi deploy\n\n\tOptions: kazi deploy\n\t--context (-c): Specify the context to use for the deployment (OPTIONAL)\n    --namespace (-n): Specify the namespace to deploy into (OPTIONAL)\n    --kubeconfig: Specify the KUBECONFIG YAML string to use for authentication (OPTIONAL)\n    --server: Specify the Kubernetes API Server URL (OPTIONAL)\n    --token: Specify the authentication token of a service account (OPTIONAL)\n\t--skip-tls-verify: Skip verifying TLS certificate of the API server (OPTIONAL)\n\n\tExamples\n\t$ kazi deploy\n\t$ kazi deploy -c docker-desktop\n\t$ kazi deploy -c docker-desktop -n default\n\n\tCommand: kazi list\n\n\tOptions: kazi deploy\n\t--context (-c): Specify the context to use for the deployment (OPTIONAL)\n    --namespace (-n): Specify the namespace to deploy into (OPTIONAL)\n    --kubeconfig: Specify the KUBECONFIG YAML string to use for authentication (OPTIONAL)\n    --server: Specify the Kubernetes API Server URL (OPTIONAL)\n    --token: Specify the authentication token of a service account (OPTIONAL)\n\t--skip-tls-verify: Skip verifying TLS certificate of the API server (OPTIONAL)\n\n\tExamples\n\t$ kazi list\n\t$ kazi list -c docker-desktop\n\t$ kazi list -n default\n```\n\n## Contributing\n\nThis repo is still a work in progress, so contributiong rules might change. But you're free to send PR, see [RELEASE doc](/RELEASE.md) for release information and [CONTRIBUTING](#) for contributiong guideline.\n","readmeFilename":"README.md"}