{"_id":"u-each","_rev":"3-5a74408f8e209b170eb05b0c38880e3f","name":"u-each","description":"A uniform way to iterate over arrays and objects while preserving the ability to break the loop if needed","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"u-each","version":"0.0.1","main":"index.js","scripts":{"test":"mocha test"},"description":"A uniform way to iterate over arrays and objects while preserving the ability to break the loop if needed","tags":["array","break","collection","each","for","iterate","object"],"author":{"name":"Chris Deacy","email":"chris@deacy.io"},"repository":{"type":"git","url":"git+https://github.com/chrisdothtml/u-each.git"},"bugs":{"url":"https://github.com/chrisdothtml/u-each/issues"},"license":"MIT","devDependencies":{"chai":"^3.5.0","mocha":"^3.2.0"},"gitHead":"bf6befbf72d92f36ff23f3c1d11d8384bad29ffe","homepage":"https://github.com/chrisdothtml/u-each#readme","_id":"u-each@0.0.1","_shasum":"3cbd47d85a4eb7f701e5107f7a6833446ae4750a","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"chrisdothtml","email":"chris@deacy.io"},"dist":{"shasum":"3cbd47d85a4eb7f701e5107f7a6833446ae4750a","tarball":"https://registry.npmjs.org/u-each/-/u-each-0.0.1.tgz","integrity":"sha512-ek8G5T+HLpbJadCeZEBDZikYhcjx+Hwd3S18gtvy/hZgW0xRxGblq5XEUhiMlveefPS869fN87ZbUN+ViHMZ3g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH4o9w7r+IdSkBruHbnvlx3XExuw6DEfsziWOkSQ1i4aAiBGMj6Fh6h68/3MjjrJFPdvI48LAlzJYX5pIluLgNQq0A=="}]},"maintainers":[{"name":"chrisdothtml","email":"chris@deacy.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/u-each-0.0.1.tgz_1480194871301_0.33891749824397266"}}},"readme":"# u-each\n\n> A uniform way to iterate over arrays and objects while preserving the ability to break the loop if needed\n\n# Install\n\n```bash\nnpm install --save u-each\n```\n\n# Use\n\n```javascript\nconst each = require('u-each')\n\neach([1, 2, 3], (item, index, arr) => {\n  if (item === 2) {\n    return 'break'\n  }\n})\n\n// no need to check hasOwnProperty\neach({ one: 1, two: 2 }, (key, value, obj) => {\n  if (key === 'two') {\n    return 'break'\n  } else {\n    return 'continue'\n  }\n})\n```\n","maintainers":[{"name":"chrisdothtml","email":"chris@deacy.io"}],"time":{"modified":"2022-06-28T02:26:03.826Z","created":"2016-11-26T21:14:31.886Z","0.0.1":"2016-11-26T21:14:31.886Z"},"homepage":"https://github.com/chrisdothtml/u-each#readme","repository":{"type":"git","url":"git+https://github.com/chrisdothtml/u-each.git"},"author":{"name":"Chris Deacy","email":"chris@deacy.io"},"bugs":{"url":"https://github.com/chrisdothtml/u-each/issues"},"license":"MIT","readmeFilename":"readme.md"}