{"_id":"f-control-flow","_rev":"2-e74b2d901c694af2984914415c8ac09e","name":"f-control-flow","dist-tags":{"latest":"1.0.1"},"versions":{"0.0.1":{"name":"f-control-flow","version":"0.0.1","author":{"name":"Victor Teo","email":"yeannylam@gmail.com"},"license":"MIT","_id":"f-control-flow@0.0.1","maintainers":[{"name":"cheunghy","email":"yeannylam@gmail.com"}],"homepage":"https://github.com/victorteokw/f-control-flow#readme","bugs":{"url":"https://github.com/victorteokw/f-control-flow/issues"},"dist":{"shasum":"e857957d8da82aa5e2e5e439e92e6a3afa131676","tarball":"https://registry.npmjs.org/f-control-flow/-/f-control-flow-0.0.1.tgz","fileCount":4,"integrity":"sha512-5Kv/JPBJPqhPhZ5HHsDZ37vmxEkuSlcib2l4z0Y//w1PoYlToYvCOc5xfem8+DfXQZjLPGQxfGdG08su2wi0zw==","signatures":[{"sig":"MEUCIQDRlnlCiimuj08mrlprtuDpfS6myBDRQhQI1pt7ompkPwIgN+gWywPFCNZ4jIfXjgfVBTplUG98oMAWt/QVkDC6yI0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1296},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{"./*":"./dist/*.js"},"scripts":{"test":"jest","test-cov":"jest --coverage","prepublish":"tsc"},"_npmUser":{"name":"cheunghy","email":"yeannylam@gmail.com"},"repository":{"url":"git+https://github.com/victorteokw/f-control-flow.git","type":"git"},"_npmVersion":"10.9.2","description":"Helper function which wraps control flow logic.","directories":{},"_nodeVersion":"23.5.0","_hasShrinkwrap":false,"devDependencies":{"ts-jest":"^29.2.5","typescript":"^5","@jest/globals":"^29.7.0","@babel/preset-env":"^7.26.0","@babel/preset-typescript":"^7.26.0"},"_npmOperationalInternal":{"tmp":"tmp/f-control-flow_0.0.1_1736095045948_0.0896789872449224","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"f-control-flow","version":"1.0.0","author":{"name":"Victor Teo","email":"yeannylam@gmail.com"},"license":"MIT","_id":"f-control-flow@1.0.0","maintainers":[{"name":"cheunghy","email":"yeannylam@gmail.com"}],"homepage":"https://github.com/victorteokw/f-control-flow#readme","bugs":{"url":"https://github.com/victorteokw/f-control-flow/issues"},"dist":{"shasum":"215f7f7cbc6054bb5e319a0847c7e4cdd22a8bcb","tarball":"https://registry.npmjs.org/f-control-flow/-/f-control-flow-1.0.0.tgz","fileCount":3,"integrity":"sha512-XP4kom/C9DhdZjOmT51cpDz00BTdHOEIhp/2zVwzNdx/2tq8HHGzaffdYeK/rfu5WZmK68xca0/GSdsyz1YnbA==","signatures":[{"sig":"MEQCICIWVMsjsOFTC7waRVGcW5zPurQY6fbRLQoGgLd83k4pAiAeqGZGIpHEOIC0ASAlJuON1+/z0RPgCqHBp5p0sIMjjw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1120},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"6ef3f8a3fef16946577181dfbe7695bb17978439","scripts":{"test":"jest","test-cov":"jest --coverage","prepublish":"tsc"},"_npmUser":{"name":"cheunghy","email":"yeannylam@gmail.com"},"repository":{"url":"git+https://github.com/victorteokw/f-control-flow.git","type":"git"},"_npmVersion":"11.1.0","description":"Helper function which wraps control flow logic.","directories":{},"_nodeVersion":"23.7.0","_hasShrinkwrap":false,"devDependencies":{"ts-jest":"^29.2.5","typescript":"^5","@jest/globals":"^29.7.0","@babel/preset-env":"^7.26.0","@babel/preset-typescript":"^7.26.0"},"_npmOperationalInternal":{"tmp":"tmp/f-control-flow_1.0.0_1739804259904_0.11711565740284846","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"f-control-flow","version":"1.0.1","description":"Helper function which wraps control flow logic.","main":"./dist/index.js","types":"./dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/victorteokw/f-control-flow.git"},"bugs":{"url":"https://github.com/victorteokw/f-control-flow/issues"},"homepage":"https://github.com/victorteokw/f-control-flow#readme","author":{"name":"Victor Teo","email":"yeannylam@gmail.com"},"license":"MIT","scripts":{"prepublish":"tsc","test":"jest","test-cov":"jest --coverage"},"devDependencies":{"@babel/preset-env":"^7.26.0","@babel/preset-typescript":"^7.26.0","@jest/globals":"^29.7.0","ts-jest":"^29.2.5","typescript":"^5"},"_id":"f-control-flow@1.0.1","gitHead":"3c9a9745885f8b17e00db6d520fbb607ede81bf2","_nodeVersion":"23.7.0","_npmVersion":"11.1.0","dist":{"integrity":"sha512-IQNu4iYSyInwtLkZKoBa2dSOdaSa5QFO2zPdVd+xFRfD8UG+sIW4RcmeqHZzC+2AHITdsbRSDfSV4YVhlcvudw==","shasum":"69a3490b36f4fb2fcfbe562817f1ed402835715e","tarball":"https://registry.npmjs.org/f-control-flow/-/f-control-flow-1.0.1.tgz","fileCount":6,"unpackedSize":1506,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC1R2Vip26ugqhcvqwtzYF/vs0xY1ORzfQmcJk7SnnFGAIgGU0m8A8GLJWylM+BaKQVqPJESpoM3BvozgxertlA0h8="}]},"_npmUser":{"name":"cheunghy","email":"yeannylam@gmail.com"},"directories":{},"maintainers":[{"name":"cheunghy","email":"yeannylam@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/f-control-flow_1.0.1_1739860551541_0.6693832804515949"},"_hasShrinkwrap":false}},"time":{"created":"2025-01-05T16:37:25.946Z","modified":"2025-02-18T06:35:51.890Z","0.0.1":"2025-01-05T16:37:26.137Z","1.0.0":"2025-02-17T14:57:40.057Z","1.0.1":"2025-02-18T06:35:51.726Z"},"bugs":{"url":"https://github.com/victorteokw/f-control-flow/issues"},"author":{"name":"Victor Teo","email":"yeannylam@gmail.com"},"license":"MIT","homepage":"https://github.com/victorteokw/f-control-flow#readme","repository":{"type":"git","url":"git+https://github.com/victorteokw/f-control-flow.git"},"description":"Helper function which wraps control flow logic.","maintainers":[{"name":"cheunghy","email":"yeannylam@gmail.com"}],"readme":"# F Control Flow\n\nHelper function which wraps control flow logic.\n\n## Installation\n\n```sh\nnpm i f-control-flow\n```\n\n## Usage\n\nControl flow with `if`, `switch` and more.\n\n```ts\nf(() => {\n  if (true) {\n    return true\n  } else {\n    return false\n  }\n})\n```\n","readmeFilename":"README.md"}