{"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":"http://registry-npm.ywwl.com/execall/download/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"}],"size":2014,"noattachment":false,"key":"/execall/-/execall-2.0.0.tgz"},"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,"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","publish_time":1555566890964,"_cnpm_publish_time":1555566890964,"dist-tags":{"latest":"3.0.0"}}