[match-index](https://www.npmjs.com/package/match-index)は[String.prototype.matchAll()](https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/String/matchAll)と[RegExp Match Indices](https://github.com/tc39/proposal-regexp-match-indices)に置き換えられるはずです([String.prototype.matchAll()](https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/String/matchAll)以前に作られたライブラリなので) - [String.prototype.matchAll()](https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/String/matchAll) - [RegExp match indices · V8](https://v8.dev/features/regexp-match-indices) 置き換えることで依存が減らせます