{"_id":"4loop","_rev":"13-1500027d40dc8f67283af0d60c191414","name":"4loop","description":"Standard ForLoop syntax. Keep syntax clean and standard no matter what you pass us (arrs, objs, maps,etc.","dist-tags":{"latest":"1.1.7"},"versions":{"0.0.1":{"name":"4loop","version":"0.0.1","description":"shorten for loop syntax. Handles arrays, objects etc based on what you pass it","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://www.github.com/raymondborkowski/4loop.git"},"keywords":["forloop","forin","foreach"],"bugs":{"url":"https://www.github.com/raymondborkowski/4loop/issues"},"author":{"name":"Raymond Borkowski","email":"rborkows@umich.edu"},"license":"ISC","_id":"4loop@0.0.1","_shasum":"5269bf85ea95e58fcd94047fd4f2e6d6fd95b4d4","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"raymondborkowski","email":"raymond.borkowski@intentmedia.com"},"dist":{"shasum":"5269bf85ea95e58fcd94047fd4f2e6d6fd95b4d4","tarball":"https://registry.npmjs.org/4loop/-/4loop-0.0.1.tgz","integrity":"sha512-5Gjrmnc5Gxn7oe9ciLWIr5sIH5D6nw9V6fgDToNd4GjC1Z+0Yx5NAbkdchczCADg8SW30YIzNm38kBn6fuUScA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICgNtnojkEARUtc7+CMxITtlsVQViLqO9KrWiUn8eXzOAiBlhG3T7DVEHacgdKyiQNM2rcE6KJj7uKXyDLZiKUkHJA=="}]},"maintainers":[{"name":"raymondborkowski","email":"raymond.borkowski@intentmedia.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4loop-0.0.1.tgz_1507938537500_0.14606965775601566"}},"1.0.0":{"name":"4loop","version":"1.0.0","description":"shorten for loop syntax. Handles arrays, objects etc based on what you pass it","main":"index.js","scripts":{"test":"eslint . && node ./test/run"},"repository":{"type":"git","url":"git+https://github.com/raymondborkowski/4loop.git"},"keywords":["forloop","forin","foreach"],"bugs":{"url":"https://www.github.com/raymondborkowski/4loop/issues"},"author":{"name":"Raymond Borkowski","email":"rborkows@umich.edu"},"license":"MIT","devDependencies":{"eslint":"^4.8.0","eslint-config-airbnb-base":"^12.0.2","eslint-plugin-import":"^2.7.0","feather-test":"^3.3.0"},"gitHead":"e04207ac8e991cce41bc5558529d1b716cd04b1b","homepage":"https://github.com/raymondborkowski/4loop#readme","_id":"4loop@1.0.0","_shasum":"937e5949471cdbbe651cd4859fe0a382e8dec1bc","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"raymondborkowski","email":"rborkows@umich.edu"},"dist":{"shasum":"937e5949471cdbbe651cd4859fe0a382e8dec1bc","tarball":"https://registry.npmjs.org/4loop/-/4loop-1.0.0.tgz","integrity":"sha512-XICS3C5mBJ9pGstdtPpH1ghm5CaRi7Hbp0u4s2Hsq3trwLGHYdLQewaEVi2UlJTpO5dOH+QQE7qvUy67L+ATYg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJ68knI4jOCoVR0rIaCd/dKnDk0TKULprawmWeTDEI2QIhALBAjs9H/00HBREqUU91DHVl1IvX0M4QDAZ9U+q7lZD5"}]},"maintainers":[{"name":"raymondborkowski","email":"raymond.borkowski@intentmedia.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4loop-1.0.0.tgz_1507951081197_0.906339435139671"}},"1.0.1":{"name":"4loop","version":"1.0.1","description":"shorten for loop syntax. Handles arrays, objects etc based on what you pass it","main":"index.js","scripts":{"test":"eslint . && node ./test/run"},"repository":{"type":"git","url":"git+https://github.com/raymondborkowski/4loop.git"},"keywords":["forloop","forin","foreach"],"bugs":{"url":"https://www.github.com/raymondborkowski/4loop/issues"},"author":{"name":"Raymond Borkowski","email":"rborkows@umich.edu"},"license":"MIT","devDependencies":{"eslint":"^4.8.0","eslint-config-airbnb-base":"^12.0.2","eslint-plugin-import":"^2.7.0","feather-test":"^3.3.0"},"gitHead":"2eb33706eb7b3720234f00878b2f36f6caf3583d","homepage":"https://github.com/raymondborkowski/4loop#readme","_id":"4loop@1.0.1","_shasum":"da7a5dcbb147c1aadbb9887ea83b95639e9b3f66","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"raymondborkowski","email":"rborkows@umich.edu"},"dist":{"shasum":"da7a5dcbb147c1aadbb9887ea83b95639e9b3f66","tarball":"https://registry.npmjs.org/4loop/-/4loop-1.0.1.tgz","integrity":"sha512-UWHlUcDV/xsODWGPd7vI3K5iwGdYGwXx/rbLAqOhdSA4aeKpb/NelgDjwWeT/LhzAuLHEVvQFsiZ+4BuZ9iePg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDBG003tQHU5Tut4ML89Z+gUPdE2cudeoIXYaL2SR0CrAIgAf7kwZN5mb2WMbof/KZ5qlBVJ/MNi3COoeMyU8+QdiM="}]},"maintainers":[{"name":"raymondborkowski","email":"raymond.borkowski@intentmedia.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4loop-1.0.1.tgz_1507951301901_0.013253262732177973"}},"1.1.0":{"name":"4loop","version":"1.1.0","description":"shorten for loop syntax. Handles arrays, objects etc based on what you pass it","main":"index.js","scripts":{"test":"node ./test/run","deploy":"node ./test/run && npm publish"},"repository":{"type":"git","url":"git+https://github.com/raymondborkowski/4loop.git"},"keywords":["forloop","forin","foreach"],"bugs":{"url":"https://www.github.com/raymondborkowski/4loop/issues"},"author":{"name":"Raymond Borkowski","email":"rborkows@umich.edu"},"license":"MIT","devDependencies":{"babel-eslint":"^8.0.1","eslint-config-airbnb-es5":"^1.2.0","eslint-plugin-react":"^7.4.0","feather-test":"^3.3.0"},"gitHead":"38ec26643e2cb1e3ceca2f61d971fe345aca2e9b","homepage":"https://github.com/raymondborkowski/4loop#readme","_id":"4loop@1.1.0","_shasum":"5d6b2ba62c107905ebab1680ee5b9c9487105905","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"raymondborkowski","email":"rborkows@umich.edu"},"dist":{"shasum":"5d6b2ba62c107905ebab1680ee5b9c9487105905","tarball":"https://registry.npmjs.org/4loop/-/4loop-1.1.0.tgz","integrity":"sha512-xxtVFpMIf7HyudZixil4YO5w02QQaQwjeW19xDuUAGGBphlsfzCKEdnp8NYQ39MfaJUZsOy5RPuNk+s0TgdhZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC9XfKjyEPZNg/2kkXJEfpSeLtVk3gglgSXBWyogQtBMAiAWYzy6hlNFfGLJdA3fCMoUB8H8DLK6pVraEZp9gkyefw=="}]},"maintainers":[{"name":"raymondborkowski","email":"raymond.borkowski@intentmedia.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4loop-1.1.0.tgz_1508044629542_0.17757936171256006"}},"1.1.1":{"name":"4loop","version":"1.1.1","description":"shorten for loop syntax. Handles arrays, objects etc based on what you pass it","main":"index.js","scripts":{"test":"node ./test/run","deploy":"node ./test/run && npm publish"},"repository":{"type":"git","url":"git+https://github.com/raymondborkowski/4loop.git"},"keywords":["forloop","forin","foreach"],"bugs":{"url":"https://www.github.com/raymondborkowski/4loop/issues"},"author":{"name":"Raymond Borkowski","email":"rborkows@umich.edu"},"license":"MIT","devDependencies":{"babel-eslint":"^8.0.1","eslint-config-airbnb-es5":"^1.2.0","eslint-plugin-react":"^7.4.0","feather-test":"^3.3.0"},"gitHead":"f847ad6295f0279b98364830f4afbe9efd3ba0b1","homepage":"https://github.com/raymondborkowski/4loop#readme","_id":"4loop@1.1.1","_shasum":"62ec1fac59f262d7002ee6f8ac08ba9f8306a407","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"raymondborkowski","email":"rborkows@umich.edu"},"dist":{"shasum":"62ec1fac59f262d7002ee6f8ac08ba9f8306a407","tarball":"https://registry.npmjs.org/4loop/-/4loop-1.1.1.tgz","integrity":"sha512-ek0rgosb6Z3gARhgkzs6QOpRv67YuWZigUr2fh+hLtb9NMhFxt7S7waYt/2Dma7L3SH4o/BIql+OHq40X7UWEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDwBxVVU+RxQbdYj4uoN6QgdsuBRBgCvQ6qjj1yMmip+AiEA02knKGXX+SWk+VdhtZWF4CtuuYNt5PjBPlxj0zk3gbM="}]},"maintainers":[{"name":"raymondborkowski","email":"raymond.borkowski@intentmedia.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4loop-1.1.1.tgz_1508045188365_0.4775875825434923"}},"1.1.2":{"name":"4loop","version":"1.1.2","description":"shorten for loop syntax. Handles arrays, objects etc based on what you pass it","main":"index.js","scripts":{"test":"node ./test/run","deploy":"node ./test/run && npm publish"},"repository":{"type":"git","url":"git+https://github.com/raymondborkowski/4loop.git"},"keywords":["forloop","forin","foreach"],"bugs":{"url":"https://www.github.com/raymondborkowski/4loop/issues"},"author":{"name":"Raymond Borkowski","email":"rborkows@umich.edu"},"license":"MIT","devDependencies":{"babel-eslint":"^8.0.1","eslint-config-airbnb-es5":"^1.2.0","eslint-plugin-react":"^7.4.0","feather-test":"^3.3.0"},"gitHead":"49e3e67e1af503074a43d2eb67c07e5d45b66d05","homepage":"https://github.com/raymondborkowski/4loop#readme","_id":"4loop@1.1.2","_shasum":"c0d1335772ed854331b11234b18276bdd5897a70","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"raymondborkowski","email":"rborkows@umich.edu"},"dist":{"shasum":"c0d1335772ed854331b11234b18276bdd5897a70","tarball":"https://registry.npmjs.org/4loop/-/4loop-1.1.2.tgz","integrity":"sha512-j2KqWcuf4lfDFf9h2+6Fx8QUURZ2YOZJ+8lPcnwtQ6jvVsuL8N8w6Yd2QxlMmT9yURz7c0Z3QjYEmTqt6r3HwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnoHT+Uv8sWuHwidSMjUMDrpCJCS9wpl3CBB63Y706fwIgFCt1v+kNGm5Ms5XtzxRFefVYY13JCJYbhEt6sWxohKo="}]},"maintainers":[{"name":"raymondborkowski","email":"raymond.borkowski@intentmedia.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4loop-1.1.2.tgz_1508045539170_0.46144157089293003"}},"1.1.3":{"name":"4loop","version":"1.1.3","description":"shorten for loop syntax. Handles arrays, objects etc based on what you pass it","main":"index.js","scripts":{"test":"node ./test/run","deploy":"node ./test/run && npm publish"},"repository":{"type":"git","url":"git+https://github.com/raymondborkowski/4loop.git"},"keywords":["forloop","forin","foreach"],"bugs":{"url":"https://www.github.com/raymondborkowski/4loop/issues"},"author":{"name":"Raymond Borkowski","email":"rborkows@umich.edu"},"license":"MIT","devDependencies":{"babel-eslint":"^8.0.1","eslint-config-airbnb-es5":"^1.2.0","eslint-plugin-react":"^7.4.0","feather-test":"^3.3.0"},"gitHead":"9631a72fd50b50119f7ced3252bff2c6ab65cacd","homepage":"https://github.com/raymondborkowski/4loop#readme","_id":"4loop@1.1.3","_shasum":"60a75db5c348c79facffa89b86677fd6ed44029a","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"raymondborkowski","email":"rborkows@umich.edu"},"dist":{"shasum":"60a75db5c348c79facffa89b86677fd6ed44029a","tarball":"https://registry.npmjs.org/4loop/-/4loop-1.1.3.tgz","integrity":"sha512-SMTkCVDaGTzQkiZyE0HyIiKyeQZeYcpDe6q0EjYAOz6KFPdAwvW5Ze2O4CWuYsQ/3k8nqngC4J0Odq6KrJAzug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyKXucwqa1fBYRYvO5nnHibQv5Eyx5AjAyhBXa/ox7IAIgRqZjwknZQFA+wZT9HOXU+rX2SLjwWVsyJJSFsZbQ+sk="}]},"maintainers":[{"name":"raymondborkowski","email":"raymond.borkowski@intentmedia.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4loop-1.1.3.tgz_1508045882968_0.20772958523593843"}},"1.1.4":{"name":"4loop","version":"1.1.4","description":"shorten for loop syntax. Handles arrays, objects etc based on what you pass it","main":"index.js","scripts":{"test":"node ./test/run","deploy":"node ./test/run && npm publish"},"repository":{"type":"git","url":"git+https://github.com/raymondborkowski/4loop.git"},"keywords":["forloop","forin","foreach"],"bugs":{"url":"https://www.github.com/raymondborkowski/4loop/issues"},"author":{"name":"Raymond Borkowski","email":"rborkows@umich.edu"},"license":"MIT","devDependencies":{"babel-eslint":"^8.0.1","eslint-config-airbnb-es5":"^1.2.0","eslint-plugin-react":"^7.4.0","feather-test":"^3.3.0"},"gitHead":"dca7fd81638027fe35dfc60ddca1924ebbcbe2a8","homepage":"https://github.com/raymondborkowski/4loop#readme","_id":"4loop@1.1.4","_shasum":"243fa6cb3670ca331be75b598103429ed8b72ca6","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"raymondborkowski","email":"rborkows@umich.edu"},"dist":{"shasum":"243fa6cb3670ca331be75b598103429ed8b72ca6","tarball":"https://registry.npmjs.org/4loop/-/4loop-1.1.4.tgz","integrity":"sha512-bTb/PyMJziPgzmWYAPvivh0gy1yVxiXdcpCR5yjeGLniHaffyob+1fVs7ixiYw22G8YLnN3SmA2UlRIZpQUAlQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwD1nP7Sdbws32h973XcATHHXfGS+ESUx69qJbMhsBiQIhAPaIcmAmIjNe0ZRDK6WWiAIPq8Myj6J+4QvbHXU6PEUc"}]},"maintainers":[{"name":"raymondborkowski","email":"raymond.borkowski@intentmedia.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4loop-1.1.4.tgz_1508050473381_0.6971167006995529"}},"1.1.5":{"name":"4loop","version":"1.1.5","description":"Standard ForLoop syntax. Keep syntax clean and standard no matter what you pass us (arrs, objs, maps,etc.","main":"index.js","scripts":{"test":"eslint . && node ./test/run","deploy":"eslint . && node ./test/run && npm publish"},"repository":{"type":"git","url":"git+https://github.com/raymondborkowski/4loop.git"},"keywords":["forloop","forin","foreach"],"bugs":{"url":"https://www.github.com/raymondborkowski/4loop/issues"},"author":{"name":"Raymond Borkowski","email":"rborkows@umich.edu"},"license":"MIT","devDependencies":{"babel-eslint":"^8.0.1","eslint-config-airbnb-es5":"^1.2.0","eslint-plugin-react":"^7.4.0","feather-test":"^3.3.0"},"gitHead":"962832a7e0a12bba19609bcb5a0ff3dd8c34df47","homepage":"https://github.com/raymondborkowski/4loop#readme","_id":"4loop@1.1.5","_shasum":"9d51c000006b214b76fc53553b5a3a6e5738080f","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"raymondborkowski","email":"rborkows@umich.edu"},"dist":{"shasum":"9d51c000006b214b76fc53553b5a3a6e5738080f","tarball":"https://registry.npmjs.org/4loop/-/4loop-1.1.5.tgz","integrity":"sha512-m9g7+9GI9QOWo0qZw3Obj+RvYEyyTbSA6ygMzwIgCN2434DlbxI0mE9EH5lXKAVanhRfuhqP+1opPCGFIdbgQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDlsSnWatdc/NdmIdcKcE9LE3C2VOafdIJN5R1tofFaAAiArJhJ60ll/e60CDgh8eYj7NeCQKAJ5F22PZRLAq7t5Ig=="}]},"maintainers":[{"name":"raymondborkowski","email":"raymond.borkowski@intentmedia.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4loop-1.1.5.tgz_1508051735239_0.7476497532334179"}},"1.1.6":{"name":"4loop","version":"1.1.6","description":"Standard ForLoop syntax. Keep syntax clean and standard no matter what you pass us (arrs, objs, maps,etc.","main":"index.js","scripts":{"test":"eslint . && node ./test/run","deploy":"eslint . && node ./test/run && npm publish"},"repository":{"type":"git","url":"git+https://github.com/raymondborkowski/4loop.git"},"keywords":["forloop","forin","foreach"],"bugs":{"url":"https://www.github.com/raymondborkowski/4loop/issues"},"author":{"name":"Raymond Borkowski","email":"rborkows@umich.edu"},"license":"MIT","devDependencies":{"babel-eslint":"^8.0.1","eslint-config-airbnb-es5":"^1.2.0","eslint-plugin-react":"^7.4.0","feather-test":"^3.3.0"},"gitHead":"962832a7e0a12bba19609bcb5a0ff3dd8c34df47","homepage":"https://github.com/raymondborkowski/4loop#readme","_id":"4loop@1.1.6","_shasum":"96121af6219f445602e6afe842afeb19130ace9c","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"raymondborkowski","email":"rborkows@umich.edu"},"dist":{"shasum":"96121af6219f445602e6afe842afeb19130ace9c","tarball":"https://registry.npmjs.org/4loop/-/4loop-1.1.6.tgz","integrity":"sha512-0BYtcw35hl46Wx/RYgPtPWSNhnnXVgIhTc7KkK8Pz/jqtUOug/SBIpywJNS6AioHz/UCbGzSfsChN91y1lojsg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClj/KHLjH8tsUNWMGULcex7KaHXRO3oOY51jMPo+mQoQIgF2um1aV8vHGedMnepeQIGzyKA6xEyT7am8DGmpDguKc="}]},"maintainers":[{"name":"raymondborkowski","email":"raymond.borkowski@intentmedia.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4loop-1.1.6.tgz_1510560094080_0.3661360072437674"}},"1.1.7":{"name":"4loop","version":"1.1.7","description":"Standard ForLoop syntax. Keep syntax clean and standard no matter what you pass us (arrs, objs, maps,etc.","main":"index.js","scripts":{"lint":"eslint .","test":"node ./test/run","deploy":"npm publish"},"repository":{"type":"git","url":"git+https://github.com/raymondborkowski/4loop.git"},"keywords":["forloop","forin","foreach"],"bugs":{"url":"https://www.github.com/raymondborkowski/4loop/issues"},"author":{"name":"Raymond Borkowski","email":"rborkows@umich.edu"},"license":"MIT","devDependencies":{"babel-eslint":"^8.0.1","eslint-config-airbnb-es5":"^1.2.0","eslint-plugin-react":"^7.4.0","feather-test":"^3.3.0"},"gitHead":"bbe6984ea964d4148baab4f6b15cd1fe49bf688a","homepage":"https://github.com/raymondborkowski/4loop#readme","_id":"4loop@1.1.7","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"raymondborkowski","email":"rborkows@umich.edu"},"dist":{"integrity":"sha512-FG4yOl+KvIqWkDzvjKxXE0R5ZCrKPDWmqiW6vpUm3aZ395vllpsqyDoVYkkUuehdMC6b+aolC1J671IAdnsvSA==","shasum":"895f9f8726f38ec2e930b936c06bfa3cecac59f6","tarball":"https://registry.npmjs.org/4loop/-/4loop-1.1.7.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuTztA9wlo0+c1L7htyZ8E7sDRw5CPKaknO2MoKJ0VnwIhAK/ghc80dV2AbBRN1hzXMq4Vm2ty4TmP5jcsvTf8I5CD"}]},"maintainers":[{"name":"raymondborkowski","email":"raymond.borkowski@intentmedia.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4loop-1.1.7.tgz_1510562822776_0.2875514847692102"}}},"readme":"# 4loop\n\n*Keep your for loop syntax the same for all different types.\nJust pass in your constraints and callback and we will determine best course of action.\n<br><br>If you pass in anything with a value(obj, map, arr), you will always get that returned first otherwise it will be the iterator or key. Please see examples below*\n\n## Install\n\n`$ npm install 4loop`\n\n## Use\n\n```js\nconst fourLoop = require('4loop');\n\nconst obj = { foo: 'bar', baz: 'cat' };\nconst arr = ['foo', 'bar', 'baz', 'cat'];\nconst arrLength = arr.length;\nconst mySet = new Set(['foo', 'bar', { baz: 'cats' }]);\nconst myMap = new Map([['foo', 'bar'], ['baz', 'cats'], ['dogs', undefined]]);\n\nfourLoop(obj, (value, key, iterator) => {\n    // Do magic here\n    if (iterator === 1) {\n        console.log(value, key, iterator); // Prints cat, baz, 1\n    }\n});\n\nfourLoop(arr, (value, key, iterator) => {\n    // Do magic here\n    if (iterator === 1) {\n        console.log(value, key, iterator); // Prints bar, bar, 1\n    }\n});\n\nfourLoop(arrLength, (value, key, iterator) => {\n    // Do magic here\n    if (iterator === 1) {\n        console.log(value, key, iterator); // Prints 1, 1, 1\n    }\n});\n\nfourLoop(mySet, (value, key, iterator) => {\n    // Do magic here\n    if (iterator === 1) {\n        console.log(value, key, iterator); // Prints bar, bar, 1\n    }\n});\n\nfourLoop(myMap, (value, key, iterator) => {\n    // Do magic here\n    if (iterator === 1) {\n        console.log(value, key, iterator); // Prints cats, baz, 1\n    }\n});\n\n```\n## Developing and contributing to 4loop\n\n### Folder structure\n\nThe main body of code is in `index.js`.\n\nThe tests are in the `test/spec` directory. Please follow naming convention with `xxxx.spec.js`\n\n### Running tests\n\nWe use [Feather-test](https://www.npmjs.com/package/feather-test) which is similar to jasmine for unit tests. Unless there is a very compelling reason to use something different, please continue using Feather for tests. The existing tests are in the spec folder. Here are some useful command shortcuts:\n\n#### Run all the tests:\n\n`npm test`\n\n#### Run only some tests:\n\n`npm test --run=nameOfFile`\n\n### Before submitting a pull request\n\nPlease make sure all code supports all versions of node.\n\nWe use ESLint for syntax consistency, and the linting rules are included in this repository. Running `npm test` will check the linting rules as well. Please make sure your code has no linting errors before submitting a pull request.\n\n`eslint . --fix` will also automatically fix any linting errors.\n\n## License\n\n[MIT](https://github.com/raymondborkowski/4loop/blob/master/LICENSE)\n","maintainers":[{"name":"raymondborkowski","email":"raymond.borkowski@intentmedia.com"}],"time":{"modified":"2022-06-12T14:07:51.025Z","created":"2017-10-13T23:48:58.372Z","0.0.1":"2017-10-13T23:48:58.372Z","1.0.0":"2017-10-14T03:18:02.106Z","1.0.1":"2017-10-14T03:21:42.826Z","1.1.0":"2017-10-15T05:17:10.425Z","1.1.1":"2017-10-15T05:26:29.305Z","1.1.2":"2017-10-15T05:32:20.090Z","1.1.3":"2017-10-15T05:38:04.237Z","1.1.4":"2017-10-15T06:54:34.260Z","1.1.5":"2017-10-15T07:15:36.141Z","1.1.6":"2017-11-13T08:01:35.017Z","1.1.7":"2017-11-13T08:47:03.706Z"},"keywords":["forloop","forin","foreach"],"repository":{"type":"git","url":"git+https://github.com/raymondborkowski/4loop.git"},"author":{"name":"Raymond Borkowski","email":"rborkows@umich.edu"},"bugs":{"url":"https://www.github.com/raymondborkowski/4loop/issues"},"license":"MIT","readmeFilename":"README.md","homepage":"https://github.com/raymondborkowski/4loop#readme"}