{"_id":"string-indexes","_rev":"3-01a99c4cadaac97dc513ed9e05a5552e","name":"string-indexes","dist-tags":{"latest":"2.0.1"},"versions":{"1.0.0":{"name":"string-indexes","version":"1.0.0","keywords":["string","index","indexes","all"],"author":{"name":"Fabio Spampinato","email":"spampinabio@gmail.com"},"license":"MIT","_id":"string-indexes@1.0.0","maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"homepage":"https://github.com/fabiospampinato/string-indexes#readme","bugs":{"url":"https://github.com/fabiospampinato/string-indexes/issues"},"ava":{"files":["test/index.js"]},"dist":{"shasum":"87637530c4bbf46a6fa2e6df6247e1b7fbb9a654","tarball":"https://registry.npmjs.org/string-indexes/-/string-indexes-1.0.0.tgz","fileCount":10,"integrity":"sha512-RUlx+2YydZJNlRAvoh1siPYWj/Xfk6t1sQLkA5n1tMGRCKkRLzkRtJhHk4qRmKergEBh8R3pWhsUsDqia/bolw==","signatures":[{"sig":"MEUCIHXAvX5gWj3PYQCoHmMbS43s02xqJZpAqL17l7qdW2QdAiEA5T/nmWqAvu82iEXZsTDQny9mB+DliZMRPY/FgsdJenE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5486,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeMXO5CRA9TVsSAnZWagAAzK8P/0cswWCI6o4AtKnNKCYu\naUpZYD6ifqKBNufTpJphpwVw4vbmDs334V3XRygxg4l/2hC6xOl/oeF1OnES\nyNTWeOddrEAwpGaaDfeZKCzS4OfZl7VGiCpB6ErzEPM++1duNsAHJWTghf/l\npaOdRg5cY/Y4Ldmar2ZO5uDTKshgG97OECVSKcyMShKfLldTiSqk4eCxZvwy\nvTQvDgCgD6jPkIBc23yY8PC/MuGu3OsZOsHt9ncEjIxpds0qmxTi+0EVGROG\njtq5jhSxWfAhWcPLXTB//UfBoOfBMHIkqSnZbV2P/aWii8QJB+8SShuJwRNf\n165sook7Wn9uOuxQ0e6RNbnAcYZc+FhnxorNCStmNE9ZMQFU+Nijed1WAALe\nQW5LynujtAdOWD3HYKWBA2GR3prFXOnptk2z7G2YYT3Tr/XoZw+hhuZXDQmc\ncu0lNsmZTFvNCof/G+71MsjwYEoPg3H7el7MJY+cYQqs5WYqY1RT7gvUHEmr\n1CTc57BTRPV2fhuTBc82zvNDgmMPqUfJaW2mTKDOCMW80flAy3LEMZQQBx36\nMDD2mJcP3hJobvBTrfcFbMZtEYQFkfodazfudjh8fql/qVregR6qRCiOJP5O\nmXX40JXV5fRuyxM3MkRjeyJK0aCY0Nbq3m0VOgKPwRCZW4WiECCIyRI/J71+\n+wn0\r\n=blqe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"b042cfdd38bdaf081dc2ebd22a25f17e031e8451","scripts":{"test":"ava","clean":"npm run clean:dist && npm run clean:coverage","report":"nyc report","compile":"tsc --skipLibCheck && tstei","coverage":"nyc --reporter=html ava","benchmark":"node tasks/benchmark.js","clean:dist":"rimraf dist","test:watch":"ava --watch","report:html":"open coverage/index.html","compile:watch":"tsc --skipLibCheck --watch","clean:coverage":"rimraf coverage .nyc_output","prepublishOnly":"npm run clean && npm run compile && npm run coverage"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"repository":{"url":"git+https://github.com/fabiospampinato/string-indexes.git","type":"git"},"_npmVersion":"6.4.1","description":"Retrieves all indexes, in non-overlapping ranges, of a substring in a string.","directories":{},"_nodeVersion":"8.4.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"ava":"^2.3.0","nyc":"^15.0.0","rimraf":"^3.0.1","ava-spec":"^1.1.1","benchloop":"^1.3.1","typescript":"^3.7.5","@types/node":"^13.5.1","typescript-transform-export-interop":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/string-indexes_1.0.0_1580299192949_0.7812805693730493","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"string-indexes","version":"2.0.0","keywords":["string","index","indexes","all"],"_id":"string-indexes@2.0.0","maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"homepage":"https://github.com/fabiospampinato/string-indexes#readme","bugs":{"url":"https://github.com/fabiospampinato/string-indexes/issues"},"dist":{"shasum":"71fe1d85184c3ca2d4744ac5bd83566ce12b54bb","tarball":"https://registry.npmjs.org/string-indexes/-/string-indexes-2.0.0.tgz","fileCount":10,"integrity":"sha512-ATTNLgMvr27CtHUsOslQrMMR9+T3py6hhwKJtJPhu0YoRsiG7ybim70Kvdw/qk3Ill0sp0jzlxS5ILdBA3LW6w==","signatures":[{"sig":"MEQCIFiRtMA/UMHSdPScdU7ZmH/CmLNF4hFvZBeii00lM8hfAiBpLBhDy7yNA0Od8rmzr3JHLAYFyCtWf91UidMzu54SDg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3901,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTfgHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpOJxAAiytUrVWx7PJd3kQc0hVqogwGEj64F5S94LMxZwGhraAt8Tfm\r\nP/5bRxBwjQqzrpN8z92KHa9maAYk4PiCr3FdGgEKKdg+6A5+W78q4Y+sCaU3\r\n2RmujylTeuUiK6Y0dbdkaHbOJqJTMZ+TAlsje74ejNlqOjB/4GC5GVOc6xWA\r\n0iRNMiVP7lS+ALUWcvFLABpPZZxWyX0w88YC7SIc5vz+R4XTYryQz8PzYtYE\r\ny8cx9zqLpqMjf4pMELPbxQYQibw5S0u59fAP55aw9xdNEY/AkYJQO9StqEyM\r\n/QBRHTfkisrfochsqwC/FcBCza8teGwgQQLrfbJ0+usoBcf5STpF4dlrcj2V\r\nNBGDqHwgCLoZyr5cPayPxNa23E6RyLgI63DvGMZLv5eFewMlD+21aGkRdAKf\r\nth6FFTfh4UBgNAMilpVM3+7JGU5kmm0+9p8Z0z1HpLLBrWwxMMbHLd0Fbx8v\r\njYGrQVCtjd8voYfeak2E8lpIBmFYNeO5XR++6nNIx5HhBs8HQudN4Kz14zvN\r\nfVi8hoakvbAaTMTDfPNewTiXBCMpqip/0FjLL1aGkbtnE3eyS8N5VD8RKMYT\r\nUs+3jJJ9A1es62pIUsrGeXq1u73jk9ISjIpsI8BnC8XO1VHT1Nx9TAV9/dEb\r\n61X5SKjfnIOzanRH64flvD0JWy45Ic5A7MM=\r\n=rjr2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","exports":"./dist/index.js","gitHead":"d16d2c682a80802a5cad84f3d811d62356410523","scripts":{"test":"tsex test","clean":"tsex clean","compile":"tsex compile","benchmark":"tsex benchmark","test:watch":"tsex test --watch","compile:watch":"tsex compile --watch","prepublishOnly":"npm run clean && npm run compile && npm run test","benchmark:watch":"tsex benchmark --watch"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"repository":{"url":"git+https://github.com/fabiospampinato/string-indexes.git","type":"git"},"_npmVersion":"8.1.0","description":"Retrieves all indexes, in non-overlapping ranges, of a substring in a string.","directories":{},"_nodeVersion":"16.13.0","_hasShrinkwrap":false,"devDependencies":{"fava":"^0.0.6","tsex":"^1.0.6","benchloop":"^1.3.2","typescript":"^4.6.3"},"_npmOperationalInternal":{"tmp":"tmp/string-indexes_2.0.0_1649276934850_0.6518069633068448","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"string-indexes","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/string-indexes.git"},"description":"Retrieves all indexes, in non-overlapping ranges, of a substring in a string.","license":"MIT","version":"2.0.1","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"benchmark":"tsex benchmark","benchmark:watch":"tsex benchmark --watch","clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"tsex test","test:watch":"tsex test --watch","prepublishOnly":"tsex prepare"},"keywords":["string","index","indexes","all"],"devDependencies":{"benchloop":"^2.1.1","fava":"^0.3.4","tsex":"^4.0.2","typescript":"^5.7.3"},"_id":"string-indexes@2.0.1","gitHead":"5e62b30a6b1a0f32fa1f471ee64dcfa49ef503d1","bugs":{"url":"https://github.com/fabiospampinato/string-indexes/issues"},"homepage":"https://github.com/fabiospampinato/string-indexes#readme","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-3zrpkaEqIXsNxjsETX01z67BQ8dsAMbHI8xtzvZmscjAu72ZARjZXoTXhJ0I4cBw07Sa6Om6Nx8hKKXYHMpDOQ==","shasum":"a1367343c7720ac128dd122b3e756f21def882d5","tarball":"https://registry.npmjs.org/string-indexes/-/string-indexes-2.0.1.tgz","fileCount":5,"unpackedSize":2775,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCD0JC8cA3CkQR7xGp10iJZJQmPGr5X+HpcVRb7ZD7HUwIgB43lRqkc84Oy5WH5ELkk8deA8OXrDn4bMqL/L54lc74="}]},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/string-indexes_2.0.1_1737325559137_0.5878743137046791"},"_hasShrinkwrap":false}},"time":{"created":"2020-01-29T11:59:52.948Z","modified":"2025-01-19T22:25:59.470Z","1.0.0":"2020-01-29T11:59:53.052Z","2.0.0":"2022-04-06T20:28:55.034Z","2.0.1":"2025-01-19T22:25:59.300Z"},"bugs":{"url":"https://github.com/fabiospampinato/string-indexes/issues"},"homepage":"https://github.com/fabiospampinato/string-indexes#readme","keywords":["string","index","indexes","all"],"repository":{"type":"git","url":"git+https://github.com/fabiospampinato/string-indexes.git"},"description":"Retrieves all indexes, in non-overlapping ranges, of a substring in a string.","maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"readme":"# String Indexes\n\nRetrieves all indexes, in non-overlapping ranges, of a substring in a string.\n\n## Install\n\n```sh\nnpm install string-indexes\n```\n\n## Usage\n\n```ts\nimport getIndexes from 'string-indexes';\n\n// Let's retrieve all the indexes for \"xx\"\n\ngetIndexes ( 'xxxx__xxxx__xxxxx', 'xx' ); // => [0, 2, 6, 8, 12, 14]\n```\n\n## License\n\nMIT © Fabio Spampinato\n","readmeFilename":"readme.md","license":"MIT"}