{"_id":"execall","_rev":"10-f73f22dfc1c757e3b44ccb3e04ca5fe8","name":"execall","description":"Find multiple RegExp matches in a string","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"execall","version":"1.0.0","description":"Find multiple RegExp matches in a string","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/execall"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["regex","regexp","re","regular","expression","exec","match","matches","execall","all","find","findall","immutable","string","str","multiple","many","global"],"dependencies":{"clone-regexp":"^1.0.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"18797f2b16558e1c6ef2c78e816e963fa632d0f9","bugs":{"url":"https://github.com/sindresorhus/execall/issues"},"homepage":"https://github.com/sindresorhus/execall","_id":"execall@1.0.0","_shasum":"73d0904e395b3cab0658b08d09ec25307f29bb73","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"73d0904e395b3cab0658b08d09ec25307f29bb73","tarball":"https://registry.npmjs.org/execall/-/execall-1.0.0.tgz","integrity":"sha512-/J0Q8CvOvlAdpvhfkD/WnTQ4H1eU0exze2nFGPj/RSC7jpQ0NkKe2r28T5eMkhEEs+fzepMZNy1kVRKNlC04nQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLHQFHCxWws7vrsnC8OXpmPIPDlKCOVvIRB9mWMSZZCAIgd2t0Sw2LsEpkzrCkvKQJJOE9VFba7mv7tKNDR7HsND4="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"2.0.0":{"name":"execall","version":"2.0.0","description":"Find multiple RegExp matches in a string","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/execall.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["regex","regexp","regular","expression","exec","match","matches","execall","all","find","findall","immutable","string","multiple","many","global"],"dependencies":{"clone-regexp":"^2.1.0"},"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"5634e2a064aebf925e5b0faaf8fd0d74da64bb99","bugs":{"url":"https://github.com/sindresorhus/execall/issues"},"homepage":"https://github.com/sindresorhus/execall#readme","_id":"execall@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-0FU2hZ5Hh6iQnarpRtQurM/aAvp3RIbfvgLHrcqJYzhXyV2KFruhuChf9NC6waAhiUR7FFtlugkI4p7f2Fqlow==","shasum":"16a06b5fe5099df7d00be5d9c06eecded1663b45","tarball":"https://registry.npmjs.org/execall/-/execall-2.0.0.tgz","fileCount":5,"unpackedSize":3843,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcuBErCRA9TVsSAnZWagAAQcAQAJvca9d5y854gnY8u2/4\nRzfIgINRHxW+c1Vo6SCJ5XLX1+4rHr/oCwcBRr7pzG9T1SZW+fN46zxtkW7J\nBLMxm8g2ft36nTSoXX1lI6ow/Dv4YWj3h06YTVaS/J4MHjeB04UXNMQt3wzT\nfRIrBDFadWPNNkMYeCHblmB7NNtI6Ua8zqa9VJY4Cp3duER+uHwYJ2NiI7yB\nLeuTJrRk3dtxcJCfsP6GpPJRHyrS3+jpy+7ZD5+CRvVmNk8xoiwQ2EknfPpX\nP53XU0i6PA1cawHJHEbZL1rNcrVfyoklqYbITJtX8EDiS1RSojbcslIlSvCw\nrJVr3O0pPOIFzJMESKSjNH1sWi8LMCD2FvE5mXXRhkBo/PaAcH1RLnoRSKWM\nv9F8EfCX3u6Rz4WhAE9X242VuXTSabjaxSC9Z4VkoJOFgGt8k50isiq678kT\n+1gkdPOixcUACtnjYN8iHXkKhFUum5EZPaydyhqKT0ROSsOmlrRBr61ZpGRQ\nRfGq0AAZ1VlZCRMiqAKWWlR32/aO4aM25ze+ux1F9vr2DEro65ynf2Sv8PI+\nLJPBnHZOMfhbCgCMcpzef3+LFcE4KyOoIKYnB+Hm+LQexxJJ98TwFhTPeKzO\noB9p0W9Pw7m3TiyaDYKwPHqxGTK2KTcA7rB9dPzjQEyiC/y6DJh6C4nJ2JnQ\no2cO\r\n=QcGF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6dZDy3MMSqXwmku4+BB8PxJRQ2UKuegJrM/UN414szgIhAKArKwGSmxNLx1CQADsDv2rQLOEDayOyRU/OkiShJ7g6"}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/execall_2.0.0_1555566890801_0.9469648975886351"},"_hasShrinkwrap":false},"3.0.0":{"name":"execall","version":"3.0.0","description":"Find multiple RegExp matches in a string","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/execall.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["regex","regexp","regular","expression","exec","match","matches","execall","all","find","findall","immutable","string","multiple","many","global"],"dependencies":{"clone-regexp":"^3.0.0"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"gitHead":"f74205018c3ca43344a252444a260342434ad3b1","bugs":{"url":"https://github.com/sindresorhus/execall/issues"},"homepage":"https://github.com/sindresorhus/execall#readme","_id":"execall@3.0.0","_nodeVersion":"12.20.1","_npmVersion":"6.14.10","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-FaJeg2uWc8ADWnAnoDbxhAAr4U/j86ujlojnEpnBHQ4FM2viZKNjjyO2O6AKG6+9usZAnqsI4+1+w6vzx0x4uw==","shasum":"7c182d52a55fd6dfce3e957eb4829c1379a2b81b","tarball":"https://registry.npmjs.org/execall/-/execall-3.0.0.tgz","fileCount":5,"unpackedSize":3704,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbxDpCRA9TVsSAnZWagAARBgP/iBPKN1S8PwLEle0jrIf\nodA5JpSibM6Hg4GTjs3ZoyL6CX6iPrdq/SUccnya/R+rPBdQqbifWzPYThA3\nSgayGW5pEIi+VgDeUzscrmFuKYCIjRa/YwFccEHZCKy+m24Wxw91fU/q9TSI\nIUVepRv/d53asyeKnMPXl1YhIxD5crd3aofTMaZ+KOzpmXZxk4qzU/ncSH4E\nc8f6Vl2LFmQcT1Bu8OMAMrCKWd4uoY7NjqnU1Kbo9siJgREDOg5f3t5/siJ0\nqvelLL92UdwcAPnuERgZSLiUtNrU+zsjIVvklM0ylxg4aNzdLLz7LK1Jb26c\nmKhHGCDv5rUuRZC+veA66t0Q4WMtRCceXYprHhqDV3dipQLS+l4tXbNLBube\nppquWrlfRK+sHWXBblUZr8F9/bCK471Fj95Y06PU4pXGdphl/RbFAF500UL8\ntXYPgl1wbOijWFDdf0ToNqxCX0q6EzvimD8/4/mglKICkyc+JqCIR6/gtnjw\nZz1wXuOKbNkzbCUBLuqLODzaxfJDJ/J2AVTrH6o52ZRgEJPRTwZaNgQCZOwF\nw+0bq5o0S3cXqTDZepMuY8pu9Ogc3R+/ygcdii0Dv5zcQwabvKwzZHIj4VUT\noLKevJUBhEtOV3oybQsgisiRHNm5onKIyYHdzM0KU9m5y97p2pxs4225RgIA\n2TM9\r\n=GU2g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGWfFVwKLYgb4uTlJL2kF1n9WzZZwrlKkC8hhShGyjrCAiApAzjKp3dj2ic3/iqmszBdaAc7eQkRcjCk06hYqlRTGA=="}]},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/execall_3.0.0_1617891560657_0.04441942389002551"},"_hasShrinkwrap":false}},"readme":"# execall\n\n> Find multiple RegExp matches in a string\n\nInstead of having to iterate over `RegExp#exec`, immutable, and with a nicer result format.\n\n## Install\n\n```\n$ npm install execall\n```\n\n## Usage\n\n```js\nimport execAll from 'execall';\n\nexecAll(/(\\d+)/g, '$200 and $400');\n/*\n[\n\t{\n\t\tmatch: '200',\n\t\tsubMatches: ['200'],\n\t\tindex: 1\n\t},\n\t{\n\t\tmatch: '400',\n\t\tsubMatches: ['400'],\n\t\tindex: 10\n\t}\n]\n*/\n```\n\n## API\n\n### execAll(regexp, string)\n\nReturns an `object[]` with a match, sub-matches, and index.\n\n#### regexp\n\nType: `RegExp`\n\nRegular expression to match against the `string`.\n\n#### string\n\nType: `string`\n\n## Related\n\n- [replace-string](https://github.com/sindresorhus/replace-string) - Replace all substring matches in a string\n","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2023-07-12T21:04:34.447Z","created":"2015-05-31T12:12:52.910Z","1.0.0":"2015-05-31T12:12:52.910Z","2.0.0":"2019-04-18T05:54:50.964Z","3.0.0":"2021-04-08T14:19:20.762Z"},"homepage":"https://github.com/sindresorhus/execall#readme","keywords":["regex","regexp","regular","expression","exec","match","matches","execall","all","find","findall","immutable","string","multiple","many","global"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/execall.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/execall/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"arteffeckt":true,"flumpus-dev":true}}